![]() |
![]() |
![]() |
Glade UI Builder Reference Manual | ![]() |
---|---|---|---|---|
GladeBaseEditorPrivate; GladeBaseEditor; GladeBaseEditor* glade_base_editor_new (GObject *container, gboolean tree_like, ...); void glade_base_editor_add_default_properties (GladeBaseEditor *editor, GladeWidget *gchild); void glade_base_editor_add_properties (GladeBaseEditor *editor, GladeWidget *gchild, gboolean packing, ...); void glade_base_editor_add_label (GladeBaseEditor *editor, gchar *str); void glade_base_editor_add_popup_items (GladeBaseEditor *editor, ...); void glade_base_editor_set_show_signal_editor (GladeBaseEditor *editor, gboolean val); GtkWidget* glade_base_editor_pack_new_window (GladeBaseEditor *editor, gchar *title, gchar *help_markup);
Convenience object to edit containers where placeholders do not make sense, like GtkMenubar.
GladeBaseEditor* glade_base_editor_new (GObject *container, gboolean tree_like, ...);
Creates a new GladeBaseEditor with support for all the object types indicated in the variable argument list. Argument List: o The type name o The GType the editor will support
|
the container this new editor will edit. |
|
TRUE if container's children can have children. @... A NULL terminated list of gchar *, GType |
|
|
Returns : |
a new GladeBaseEditor. |
void glade_base_editor_add_default_properties (GladeBaseEditor *editor, GladeWidget *gchild);
Add gchild
name and type property to editor
NOTE: This function is intended to be used in "child-selected" callbacks
|
a GladeBaseEditor |
|
a GladeWidget |
void glade_base_editor_add_properties (GladeBaseEditor *editor, GladeWidget *gchild, gboolean packing, ...);
Add gchild
properties to editor
NOTE: This function is intended to be used in "child-selected" callbacks
|
a GladeBaseEditor |
|
a GladeWidget |
|
whether we are adding packing properties or not |
|
A NULL terminated list of properties names. |
void glade_base_editor_add_label (GladeBaseEditor *editor, gchar *str);
Adds a new label to editor
NOTE: This function is intended to be used in "child-selected" callbacks
|
a GladeBaseEditor |
|
the label string |
void glade_base_editor_add_popup_items (GladeBaseEditor *editor, ...);
Adds a new popup item to the editor. Three parameters are needed for each new popup item: o the popup item's label o the object type this popup item will create o whether this popup item will add the new object as child
|
a GladeBaseEditor |
|
a NULL terminated list of gchar *, GType, gboolean |
void glade_base_editor_set_show_signal_editor (GladeBaseEditor *editor, gboolean val);
Shows/hide editor
's signal editor
|
a GladeBaseEditor |
|
GtkWidget* glade_base_editor_pack_new_window (GladeBaseEditor *editor, gchar *title, gchar *help_markup);
This convenience function create a new modal window and packs editor
in it.
|
a GladeBaseEditor |
|
the window title |
|
the help text |
Returns : |
the newly created window |