|  |  |  | Glade UI Builder Reference Manual |  | 
|---|---|---|---|---|
| GladeEditorGladeEditor — A Widget to edit a GladeWidget. | 
#define GLADE_EDITOR_TABLE (t) #define GLADE_IS_EDITOR_TABLE (t) GladeEditorTable; enum GladeEditorTableType; GladeEditor; GladeEditor* glade_editor_new (void); void glade_editor_load_widget (GladeEditor *editor, GladeWidget *widget); void glade_editor_refresh (GladeEditor *editor); void glade_editor_update_widget_name (GladeEditor *editor); gboolean glade_editor_query_dialog (GladeEditor *editor, GladeWidget *widget); void glade_editor_show_info (GladeEditor *editor); void glade_editor_show_context_info (GladeEditor *editor); void glade_editor_hide_info (GladeEditor *editor); void glade_editor_hide_context_info (GladeEditor *editor);
  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkVBox
                                       +----GladeEditor
This is the Glade Notebook containing all the controls needed to configure a GladeWidget.
typedef struct {
	GladeEditor *editor; /* Handy pointer that avoids havving to pass the
			      * editor arround.
			      */
	
	GladeWidgetAdaptor *adaptor; /* The GladeWidgetAdaptor this
				      * table belongs to.
				      */
	GtkWidget *table_widget; /* This widget is a gtk_vbox that is displayed
				  * in the glade-editor when a widget of this
				  * class is selected. It is hiden when another
				  * type is selected. When we select a widget
				  * we load into the inputs inside this table
				  * the information about the selected widget.
				  */
	
	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.
			    */
	GladeEditorTableType type; /* Is this table to be used in the common tab, ?
				    * the general tab, a packing tab or the query popup ?
				    */
	gint  rows;
} GladeEditorTable;
typedef enum _GladeEditorTableType
{
	TABLE_TYPE_GENERAL,
	TABLE_TYPE_COMMON,
	TABLE_TYPE_PACKING,
	TABLE_TYPE_ATK,
	TABLE_TYPE_QUERY
} GladeEditorTableType;
void glade_editor_load_widget (GladeEditor *editor, GladeWidget *widget);
Load widget into editor. If widget is NULL, clear the editor.
| 
 | a GladeEditor | 
| 
 | a GladeWidget | 
void glade_editor_refresh (GladeEditor *editor);
Synchronize editor with the currently loaded widget.
| 
 | a GladeEditor | 
void glade_editor_update_widget_name (GladeEditor *editor);
TODO: write me
| 
 | a GladeEditor | 
gboolean glade_editor_query_dialog (GladeEditor *editor, GladeWidget *widget);
| 
 | |
| 
 | |
| Returns : | 
void glade_editor_show_context_info (GladeEditor *editor);
| 
 | 
void glade_editor_hide_context_info (GladeEditor *editor);
| 
 | 
"show-context-info" property"show-context-info" gboolean : Read
Whether to show an informational button for each property and signal in the editor.
Default value: FALSE
"gtk-doc-search" signalvoid user_function (GladeEditor *gladeeditor, gchar *arg1, gchar *arg2, gchar *arg3, gpointer user_data) : Run Last
Emitted when the editor requests that a doc-search be performed.
| 
 | the GladeEditor which received the signal. | 
| 
 | the (gchar *) book to search or NULL | 
| 
 | the (gchar *) page to search or NULL | 
| 
 | the (gchar *) search string or NULL | 
| 
 | user data set when the signal handler was connected. |