| Glade User Interface Designer Reference Manual | ||||
|---|---|---|---|---|
GladeEditorPropertyGladeEditorProperty — A generic widget to edit a GladeProperty. |
GladeEditorProperty;
#define GLADE_MAKE_EPROP_TYPE (func, type, parent)
void glade_editor_property_load (GladeEditorProperty *eprop,
GladeProperty *property);
void glade_editor_property_load_by_widget
(GladeEditorProperty *eprop,
GladeWidget *widget);
void glade_editor_property_commit (GladeEditorProperty *eprop,
GValue *value);
void glade_editor_property_show_info (GladeEditorProperty *eprop);
void glade_editor_property_hide_info (GladeEditorProperty *eprop);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkHBox
+----GladeEditorProperty
"property-class" gpointer : Read / Write / Construct Only "show-info" gboolean : Read / Write "use-command" gboolean : Read / Write
The GladeEditorProperty is a factory that will create the correct control for the GladePropertyClass it was created for and provides a simple unified api to them.
void glade_editor_property_load (GladeEditorProperty *eprop, GladeProperty *property);
Loads property values into eprop and connects.
eprop : |
A GladeEditorProperty |
property : |
A GladeProperty |
void glade_editor_property_load_by_widget
(GladeEditorProperty *eprop,
GladeWidget *widget);
Convenience function to load the appropriate GladeProperty into
eprop from widget
eprop : |
A GladeEditorProperty |
widget : |
A GladeWidget |
void glade_editor_property_commit (GladeEditorProperty *eprop, GValue *value);
Commits the value onto the widget and glade-command interface (for use in GladeEditorProperty implementations)
eprop : |
A GladeEditorProperty |
value : |
The GValue |
void glade_editor_property_show_info (GladeEditorProperty *eprop);
Show the control widget to access help for eprop
eprop : |
A GladeEditorProperty |
void glade_editor_property_hide_info (GladeEditorProperty *eprop);
Hide the control widget to access help for eprop
eprop : |
A GladeEditorProperty |
"property-class" property"property-class" gpointer : Read / Write / Construct Only
The GladePropertyClass this GladeEditorProperty was created for.
"show-info" property"show-info" gboolean : Read / Write
Whether we should show an informational button.
Default value: FALSE
"gtk-doc-search" signalvoid user_function (GladeEditorProperty *gladeeditor, gchar *arg1, gchar *arg2, gchar *arg3, gpointer user_data) : Run Last
Emitted when the editor property requests that a doc-search be performed.
gladeeditor : |
the GladeEditorProperty which received the signal. |
arg1 : |
the (gchar *) book to search or NULL
|
arg2 : |
the (gchar *) page to search or NULL
|
arg3 : |
the (gchar *) search string or NULL
|
user_data : |
user data set when the signal handler was connected. |