Part of elisa.plugins.pigment.pigment_controller View In Hierarchy
Known subclasses: elisa.plugins.database.video_controller.SynopsisController, elisa.plugins.pigment.tests.test_pigment_frontend.TestController, elisa.plugins.poblesec.base.list.ListController, elisa.plugins.poblesec.base.list_switcher.ListSwitcherController, elisa.plugins.poblesec.browser_controller.BrowserController, elisa.plugins.poblesec.configuration.option_screen.OptionScreen, elisa.plugins.poblesec.configuration_wizard.ConfigurationWizard, elisa.plugins.poblesec.login_settings_controller.LoginResultController, elisa.plugins.poblesec.login_settings_controller.LoginSettingsController, elisa.plugins.poblesec.main.PoblesecController, elisa.plugins.poblesec.player_slideshow.SlideshowController, elisa.plugins.poblesec.player_video.PlayerController, elisa.plugins.poblesec.plugins.PluginInformationController, elisa.plugins.poblesec.popup.PopupController, elisa.plugins.poblesec.search_controller.SearchController, elisa.plugins.poblesec.sections_menu.SectionsMenuController, elisa.plugins.poblesec.tests.test_browser_controller.DummyController, elisa.plugins.poblesec.tests.test_browser_controller.FakeController, elisa.plugins.poblesec.tests.test_history.BadController, elisa.plugins.poblesec.tests.test_history.FakeController, elisa.plugins.poblesec.tests.test_history.NeverEndingController, elisa.plugins.shelf.shelf_controller.ShelfController, elisa.plugins.tutorials.amazon.main_controller.MainController
elisa.core.components.controller.Controller
for the Pigment toolkit. A PigmentController
creates a user interface in its widget
widget using other Pigment widgets.Instance Variables | frontend | frontend that created the controller
(type: elisa.core.components.frontend.Frontend
) |
sensitive | whether this controller should react on click events
(type: bool
) | |
path | path for which that controller was selected
(type: str
) | |
widget | Pigment widget containing the UI of the controller
(type: elisa.plugins.pigment.widgets.widget.Widget
) | |
widget_animated | implicitly animated version of widget
(type: pgm.timing.implicit.AnimatedObject
) |
Line # | Kind | Name | Docs |
---|---|---|---|
50 | Method | __init__ | Undocumented |
59 | Method | set_frontend | Set the frontend for the controller. |
68 | Method | set_path | Set the path for the controller. |
77 | Method | handle_input | Undocumented |
83 | Method | has_focus | Undocumented |
86 | Method | prepare | Called after widget is
added to the canvas. It is sensible to do |
93 | Method | removed | Called after widget is
removed from the canvas. |
99 | Method | clean | Clean the component. |
Inherited from Component (via Controller):
Line # | Kind | Name | Docs |
---|---|---|---|
85 | Class | PathDescriptor | Undocumented |
97 | Class Method | create | Create and initialize the component. |
130 | Method | initialize | Initialize the component. |
Parameters | frontend | frontend
(type: elisa.core.components.frontend.Frontend
) |
widget
is
added to the canvas. It is sensible to do aspect ratio dependent operations
at that point.widget
is
removed from the canvas.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
) |