Top | ![]() |
![]() |
![]() |
![]() |
GladeEditorGladeEditor — A Widget to edit a GladeWidget. |
#define | GLADE_EDITOR_TABLE() |
#define | GLADE_IS_EDITOR_TABLE() |
GladeEditor * | glade_editor_new () |
void | glade_editor_load_widget () |
void | glade_editor_refresh () |
gboolean | glade_editor_query_dialog () |
void | glade_editor_show_info () |
void | glade_editor_hide_info () |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GtkVBox ╰── GladeEditor
This is the Glade Notebook containing all the controls needed to configure a GladeWidget.
#define GLADE_EDITOR_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_EDITOR_TABLE, GladeEditorTable))
#define GLADE_IS_EDITOR_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_EDITOR_TABLE))
void glade_editor_load_widget (GladeEditor *editor
,GladeWidget *widget
);
Load widget
into editor
. If widget
is NULL
, clear the editor.
void
glade_editor_refresh (GladeEditor *editor
);
Synchronize editor
with the currently loaded widget.
gboolean glade_editor_query_dialog (GladeEditor *editor
,GladeWidget *widget
);
struct GladeEditorTable { GtkTable parent; GladeWidgetAdaptor *adaptor; /* The GladeWidgetAdaptor this * table was created for. */ GladeWidget *loaded_widget; /* A pointer to the currently loaded GladeWidget */ GtkSizeGroup *group; /* Group of editing widgets in the right hand column */ GtkWidget *name_label; /* A pointer to the "Name:" label (for show/hide) */ GtkWidget *name_entry; /* A pointer to the gtk_entry that holds * the name of the widget. This is the * first item _pack'ed to the table_widget. * We have a pointer here because it is an * entry which will not be created from a * GladeProperty but rather from code. */ GList *properties; /* A list of GladeEditorPropery items. * For each row in the gtk_table, there is a * corrsponding GladeEditorProperty struct. */ GladeEditorPageType type; /* Is this table to be used in the common tab, ? * the general tab, a packing tab or the query popup ? */ gint rows; };
“show-info”
property“show-info” gboolean
Whether to show an informational button for the loaded widget.
Flags: Read
Default value: FALSE
“widget”
property“widget” GladeWidget *
The currently loaded widget in this editor.
Flags: Read / Write
“gtk-doc-search”
signalvoid user_function (GladeEditor *gladeeditor, gchar *arg1, gchar *arg2, gchar *arg3, gpointer user_data)
Emitted when the editor requests that a doc-search be performed.
Flags: Run Last