| Top |
GladeEditorPropertyGladeEditorProperty — A generic widget to edit a GladeProperty. |
| void | glade_editor_property_load () |
| void | glade_editor_property_load_by_widget () |
| void | glade_editor_property_commit () |
| void | glade_editor_property_commit_no_callback () |
| const gchar * | glade_editor_property_get_custom_text () |
| gboolean | glade_editor_property_get_disable_check () |
| GtkWidget * | glade_editor_property_get_item_label () |
| GladePropertyDef * | glade_editor_property_get_property_def () |
| GladeProperty * | glade_editor_property_get_property () |
| gboolean | glade_editor_property_loading () |
| void | glade_editor_property_set_custom_text () |
| void | glade_editor_property_set_disable_check () |
| gboolean | glade_editor_property_show_i18n_dialog () |
| gboolean | glade_editor_property_show_object_dialog () |
| gboolean | glade_editor_property_show_resource_dialog () |
The GladeEditorProperty is a factory that will create the correct control for the GladePropertyDef 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.
(the editor property will watch the property's value
until its loaded with another property or NULL)
void glade_editor_property_load_by_widget (GladeEditorProperty *eprop,GladeWidget *widget);
Convenience function to load the appropriate GladeProperty into
eprop
from widget
void glade_editor_property_commit (GladeEditorProperty *eprop,GValue *value);
Commits value
to the property currently being edited by eprop
.
void glade_editor_property_commit_no_callback (GladeEditorProperty *eprop,GValue *value);
const gchar *
glade_editor_property_get_custom_text (GladeEditorProperty *eprop);
gboolean
glade_editor_property_get_disable_check
(GladeEditorProperty *eprop);
GtkWidget *
glade_editor_property_get_item_label (GladeEditorProperty *eprop);
GladePropertyDef *
glade_editor_property_get_property_def
(GladeEditorProperty *eprop);
GladeProperty *
glade_editor_property_get_property (GladeEditorProperty *eprop);
gboolean
glade_editor_property_loading (GladeEditorProperty *eprop);
void glade_editor_property_set_custom_text (GladeEditorProperty *eprop,const gchar *custom_text);
void glade_editor_property_set_disable_check (GladeEditorProperty *eprop,gboolean disable_check);
gboolean glade_editor_property_show_i18n_dialog (GtkWidget *parent,gchar **text,gchar **context,gchar **comment,gboolean *translatable);
Runs a dialog and updates the provided values.
gboolean glade_editor_property_show_object_dialog (GladeProject *project,const gchar *title,GtkWidget *parent,GType object_type,GladeWidget *exception,GladeWidget **object);
gboolean glade_editor_property_show_resource_dialog (GladeProject *project,GtkWidget *parent,gchar **filename);