Gladeui.App¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emitted when the glade core requests that a doc-search be performed. |
|
Emitted when a new signal editor created. |
|
Emitted when a new widget adaptor is registered. |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Gladeui.App(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod add_project(project)¶
- Parameters:
project (
Gladeui.Project
) – the project to add to theGladeui.App
- classmethod config_save()¶
- Returns:
0 on success.
- Return type:
Saves the
GLib.KeyFile
to “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:
This function has to be called in an event handler for widget selection to work. See
Gdk.Event.handler_set
()
- classmethod get()¶
- Returns:
the
Gladeui.App
- Return type:
- classmethod get_accel_group()¶
- Returns:
the
Gtk.AccelGroup
- Return type:
- classmethod get_catalog(name)¶
- Parameters:
name (
str
) – the name of the catalog- Returns:
a
Gladeui.Catalog
orNone
if none is found- Return type:
- classmethod get_catalog_version(name)¶
- Parameters:
name (
str
) – the name of theGladeui.Catalog
- Returns:
True
if the catalog has been found. It is a programming error to call this function with an unexisting catalog, returnsFalse
in this case and throws a warning.- major:
the major version
- minor:
the minor version
- Return type:
- classmethod get_catalogs()¶
- Returns:
a list of
Gladeui.Catalog
- Return type:
- classmethod get_clipboard()¶
- Returns:
- Return type:
- classmethod get_config()¶
- Returns:
- Return type:
- classmethod get_project_by_path(project_path)¶
- Parameters:
project_path (
str
) – The path of an open project- Returns:
A
Gladeui.Project
, orNone
if no such open project was found- Return type:
Finds an open project with path
- classmethod get_projects()¶
- Returns:
a list of
Gladeui.Catalog
- Return type:
- classmethod get_window()¶
- Returns:
- Return type:
- classmethod new()¶
- Returns:
the
Gladeui.App
- Return type:
- 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.AccelGroup
to set
Sets 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.Widget
Set the window of the application
Signal Details¶
- Gladeui.App.signals.doc_search(app, arg1, arg2, arg3)¶
- Signal Name:
doc-search
- Flags:
- 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-created
- Flags:
- Parameters:
app (
Gladeui.App
) – The object which received the signalsignal_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
- Gladeui.App.signals.widget_adaptor_registered(app, adaptor)¶
- Signal Name:
widget-adaptor-registered
- Flags:
- Parameters:
app (
Gladeui.App
) – The object which received the signaladaptor (
GObject.Object
) – the newly registeredGladeui.WidgetAdaptor
.
Emitted when a new widget adaptor is registered.