10#ifndef __GUI_WIDGETS_TEXT_EXPANDER_H__
11#define __GUI_WIDGETS_TEXT_EXPANDER_H__
16#include "gtk_wrapper.h"
18#pragma GCC diagnostic push
19#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
20#include <gtksourceview/gtksource.h>
21#pragma GCC diagnostic pop
23#define TEXT_EXPANDER_WIDGET_TYPE (text_expander_widget_get_type ())
41typedef struct _TextExpanderWidget
43 ExpanderBoxWidget parent_instance;
56 GtkViewport * viewport;
66 GtkMenuButton * edit_btn;
void(* GenericStringSetter)(void *object, const char *val)
Setter prototype for float values.
const char *(* GenericStringGetter)(void *object)
Getter prototype for strings.
A TwoColExpanderBoxWidget for showing the ports in the InspectorWidget.
GenericStringSetter setter
Setter for the string.
GtkSourceBuffer * buffer
Editor buffer.
GenericStringGetter getter
Getter for the string.
void * obj
Object to call get/set on.
GtkScrolledWindow * scroll
Scrolled window for the editor inside.
GtkSourceView * editor
Editor.