Part of elisa.plugins.pigment.pigment_frontend View In Hierarchy
Specialised elisa.core.components.frontend.Frontend
for the Pigment toolkit.
| Instance Variables | viewport | the Pigment viewport
(type: pgm.Viewport
) |
| canvas | the Pigment canvas
(type: pgm.Canvas
) | |
| config | data from the configuration file loaded at Elisa startup, or the
default
(type: elisa.core.config.Config
) | |
| controller | the root controller, containing the root of widget hierarchy
(type: elisa.plugins.pigment.pigment_controller.PigmentController
) | |
| gtk_window | Gtk window, optionnally embedding the Pigment viewport
(type: gtk.Window
) |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 351 | Method | initialize | Initialize the component. |
| 533 | Method | reduce_window | Undocumented |
| 537 | Method | handle_input | Undocumented |
| 555 | Method | set_theme | Set a new theme for the frontend. |
| 593 | Method | get_theme | Get the current theme. |
| 601 | Method | load_from_theme | Loads an icon from the theme into a Pigment image. |
| 626 | Method | clean | Clean the component. |
| 530 | Method | _viewport_delete_event | Undocumented |
| 541 | Method | _initialize_theme | Initialize a theme for the frontend. |
| 647 | Method | _configure_callback | Undocumented |
| 654 | Method | _update_pass_callback | Undocumented |
| 657 | Method | _resize_canvas | Undocumented |
| 664 | Method | _motion_notify_callback | Undocumented |
| 672 | Method | _hide_cursor | Undocumented |
| 675 | Method | _initialize_dbus | Undocumented |
| 684 | Method | _clean_dbus | Undocumented |
Inherited from Component (via Frontend):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 85 | Class | PathDescriptor | Undocumented |
| 97 | Class Method | create | Create and initialize the component. |
Inherited from Loggable (via Frontend, Component):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 81 | Method | __init__ | Undocumented |
Inherited from PigmentFrontendExtensionMixin:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 56 | Method | __init__ | Undocumented |
| 130 | Method | add_controller | Add a new controller to the frontend. The controller is the one that |
| 143 | Method | remove_controller | Remove a controller from the frontend. |
| 154 | Method | create_controller | Create a controller for the given path. |
| 190 | Method | retrieve_controllers | Retrieve the list of controllers for a given path. |
| 207 | Method | add_decorator | Add a decorator function for controllers matching path_pattern. |
| 224 | Method | remove_decorator | Remove a decorator function from the frontend. |
| 69 | Method | _update_controller_mappings | Undocumented |
| 82 | Method | _load_controller_mappings | Load the controller mappings from all the enabled plugins' metadata. |
| 93 | Method | _update_decorator_mappings | Undocumented |
| 106 | Method | _load_decorator_mappings | Load the decorator mappings from all the enabled plugins' metadata. |
| 117 | Method | _plugin_status_changed_cb | Undocumented |
| 183 | Method | _store_controller | Undocumented |
| 235 | Method | _set_frontend | Undocumented |
| 240 | Method | _set_path | Undocumented |
| 245 | Method | _decorator_callback | Undocumented |
| 250 | Method | _decorator_errback | Undocumented |
| 256 | Method | _iterate_decorators_callback | Undocumented |
| 260 | Method | _iterate_decorators | Undocumented |
| 286 | Method | _decorate | Undocumented |
Initialize the component.
This method is called byComponent.create to finish the
initialization of a component.
| Returns | a deferred called when a component is fully initialized
(type: twisted.internet.defer.Deferred
) | |
| Parameters | theme | the new theme
(type: elisa.plugins.widgets.Theme
) |
| Returns | the current theme
(type: elisa.plugins.widgets.Theme
) | |
| Parameters | path | icon path to load (type: str ) |
| image | drawable into which the icon will be loaded
(type: pgm.Image
) |
Clean the component.
This method is called when a component is not needed anymore to clean its state.| Returns | a deferred called when the component has finished cleaning its state
(type: twisted.internet.defer.Deferred
) | |