Top | ![]() |
![]() |
![]() |
![]() |
GladeApp * | glade_app_new () |
GType | glade_pointer_mode_get_type () |
GladeApp * | glade_app_get () |
void | glade_app_set_window () |
GtkWidget * | glade_app_get_window () |
GladeClipboard * | glade_app_get_clipboard () |
void | glade_app_add_project () |
void | glade_app_remove_project () |
GList * | glade_app_get_projects () |
GKeyFile * | glade_app_get_config () |
gboolean | glade_app_is_project_loaded () |
GladeProject * | glade_app_get_project_by_path () |
gint | glade_app_config_save () |
void | glade_app_set_accel_group () |
const gchar * | glade_app_get_catalogs_dir () |
const gchar * | glade_app_get_modules_dir () |
const gchar * | glade_app_get_pixmaps_dir () |
const gchar * | glade_app_get_locale_dir () |
gboolean | glade_app_do_event () |
GtkAccelGroup * | glade_app_get_accel_group () |
const gchar * | glade_app_get_bin_dir () |
GladeCatalog * | glade_app_get_catalog () |
gboolean | glade_app_get_catalog_version () |
GList * | glade_app_get_catalogs () |
const gchar * | glade_app_get_lib_dir () |
void | glade_app_search_docs () |
void | doc-search | Run Last |
void | signal-editor-created | Run Last |
void | widget-adaptor-registered | Run Last |
This main control object is where we try to draw the line between what is the Glade core and what is the main application. The main application must derive from the GladeApp object and create an instance to initialize the Glade core.
void
glade_app_set_window (GtkWidget *window
);
Set the window of the application
GladeProject *
glade_app_get_project_by_path (const gchar *project_path
);
Finds an open project with path
gint
glade_app_config_save (void
);
Saves the GKeyFile to "g_get_user_config_dir()
/GLADE_CONFIG_FILENAME"
void
glade_app_set_accel_group (GtkAccelGroup *accel_group
);
Sets accel_group
to app.
The acceleration group will made available for editor dialog windows
from the plugin backend.
gboolean
glade_app_do_event (GdkEvent *event
);
This function has to be called in an event handler for widget selection to work.
See gdk_event_handler_set()
gboolean glade_app_get_catalog_version (const gchar *name
,gint *major
,gint *minor
);
name |
the name of the GladeCatalog |
|
major |
the major version. |
[out][optional] |
minor |
the minor version. |
[out][optional] |
“doc-search”
signalvoid user_function (GladeApp *gladeeditor, gchar *arg1, gchar *arg2, gchar *arg3, gpointer user_data)
Emitted when the glade core requests that a doc-search be performed.
Flags: Run Last
“signal-editor-created”
signalvoid user_function (GladeApp *gladeapp, GObject *signal_editor, gpointer user_data)
Emitted when a new signal editor created. A tree view is created in the default handler. Connect your handler before the default handler for setting a custom column or renderer and after it for connecting to the tree view signals
gladeapp |
the GladeApp which received the signal. |
|
signal_editor |
the new GladeSignalEditor. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“widget-adaptor-registered”
signalvoid user_function (GladeApp *gladeapp, GObject *adaptor, gpointer user_data)
Emitted when a new widget adaptor is registered.
gladeapp |
the GladeApp which received the signal. |
|
adaptor |
the newly registered GladeWidgetAdaptor. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last