Gladeui.App¶
| Subclasses: | None |
|---|
Methods¶
| Inherited: | GObject.Object (37) |
|---|---|
| Structs: | GObject.ObjectClass (5) |
| class | add_project (project) |
| class | config_save () |
| class | do_event (event) |
| class | get () |
| class | get_accel_group () |
| class | get_bin_dir () |
| class | get_catalog (name) |
| class | get_catalog_version (name) |
| class | get_catalogs () |
| class | get_catalogs_dir () |
| class | get_clipboard () |
| class | get_config () |
| class | get_lib_dir () |
| class | get_locale_dir () |
| class | get_modules_dir () |
| class | get_pixmaps_dir () |
| class | get_project_by_path (project_path) |
| class | get_projects () |
| class | get_window () |
| class | is_project_loaded (project_path) |
| class | new () |
| class | remove_project (project) |
| class | search_docs (book, page, search) |
| class | set_accel_group (accel_group) |
| class | set_window (window) |
Virtual Methods¶
| Inherited: | GObject.Object (7) |
|---|
Properties¶
None
Signals¶
| Inherited: | GObject.Object (1) |
|---|
| Name | Short Description |
|---|---|
doc-search |
Emitted when the glade core requests that a doc-search be performed. |
signal-editor-created |
Emitted when a new signal editor created. |
widget-adaptor-registered |
Emitted when a new widget adaptor is registered. |
Class Details¶
-
class
Gladeui.App(**kwargs)¶ Bases: GObject.ObjectAbstract: No Structure: Gladeui.AppClass-
classmethod
add_project(project)¶ Parameters: project ( Gladeui.Project) – the project to add to theGladeui.App
-
classmethod
config_save()¶ Returns: 0 on success. Return type: intSaves the
GLib.KeyFileto “GLib.get_user_config_dir()/GLADE_CONFIG_FILENAME”
-
classmethod
do_event(event)¶ Parameters: event ( Gdk.Event) – the event to process.Returns: true if the event was handled. Return type: boolThis function has to be called in an event handler for widget selection to work. See
Gdk.Event.handler_set()
-
classmethod
get()¶ Returns: the Gladeui.AppReturn type: Gladeui.App
-
classmethod
get_accel_group()¶ Returns: the Gtk.AccelGroupReturn type: Gtk.AccelGroup
-
classmethod
get_catalog(name)¶ Parameters: name ( str) – the name of the catalogReturns: a Gladeui.CatalogorNoneif none is foundReturn type: Gladeui.CatalogorNone
-
classmethod
get_catalog_version(name)¶ Parameters: name ( str) – the name of theGladeui.CatalogReturns: Trueif the catalog has been found. It is a programming error to call this function with an unexisting catalog, returnsFalsein this case and throws a warning.major: the major version minor: the minor version Return type: ( bool, major:int, minor:int)
-
classmethod
get_catalogs()¶ Returns: a list of Gladeui.CatalogReturn type: [ Gladeui.Catalog]
-
classmethod
get_clipboard()¶ Returns: a Gladeui.ClipboardReturn type: Gladeui.Clipboard
-
classmethod
get_config()¶ Returns: a GLib.KeyFileReturn type: GLib.KeyFile
-
classmethod
get_project_by_path(project_path)¶ Parameters: project_path ( str) – The path of an open projectReturns: A Gladeui.Project, orNoneif no such open project was foundReturn type: Gladeui.ProjectorNoneFinds an open project with path
-
classmethod
get_projects()¶ Returns: a list of Gladeui.CatalogReturn type: [ Gladeui.Catalog]
-
classmethod
get_window()¶ Returns: a Gtk.WidgetReturn type: Gtk.Widget
-
classmethod
new()¶ Returns: the Gladeui.AppReturn type: Gladeui.App
-
classmethod
remove_project(project)¶ Parameters: project ( Gladeui.Project) – the project to remove from theGladeui.App
-
classmethod
search_docs(book, page, search)¶ Parameters: Searches for book, page and search in the documentation.
-
classmethod
set_accel_group(accel_group)¶ Parameters: accel_group ( Gtk.AccelGroup) – aGtk.AccelGroupto setSets accel_group to app. The acceleration group will made available for editor dialog windows from the plugin backend.
-
classmethod
set_window(window)¶ Parameters: window ( Gtk.Widget) – aGtk.WidgetSet the window of the application
-
classmethod
Signal Details¶
-
Gladeui.App.signals.doc_search(app, arg1, arg2, arg3)¶ Signal Name: doc-searchFlags: Parameters: Emitted when the glade core requests that a doc-search be performed.
-
Gladeui.App.signals.signal_editor_created(app, signal_editor)¶ Signal Name: signal-editor-createdFlags: Parameters: - app (
Gladeui.App) – The object which received the signal - signal_editor (
GObject.Object) – the newGladeui.SignalEditor.
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
- app (
-
Gladeui.App.signals.widget_adaptor_registered(app, adaptor)¶ Signal Name: widget-adaptor-registeredFlags: Parameters: - app (
Gladeui.App) – The object which received the signal - adaptor (
GObject.Object) – the newly registeredGladeui.WidgetAdaptor.
Emitted when a new widget adaptor is registered.
- app (