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 () |
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] |