Part of elisa.plugins.poblesec.widgets.player.control_ribbon View In Hierarchy
Known subclasses: elisa.plugins.poblesec.slideshow_controls.RotationControl, elisa.plugins.poblesec.slideshow_controls.ShowNextControl, elisa.plugins.poblesec.slideshow_controls.ShowPreviousControl, elisa.plugins.poblesec.videoplayer_controls.MultiCaptionControl, elisa.plugins.poblesec.videoplayer_controls.PlayPauseControl, elisa.plugins.poblesec.videoplayer_controls.SkipNextControl, elisa.plugins.poblesec.videoplayer_controls.SkipPreviousControl, elisa.plugins.poblesec.videoplayer_controls.StopControl, elisa.plugins.poblesec.videoplayer_controls.VolumeDownControl, elisa.plugins.poblesec.videoplayer_controls.VolumeUpControl
An abstract class for controls acting on an object. On top of
encapsulating the code that performs the operation in its activate
method it also embeds graphical and textual representations of what it
does. These representations can be used to attach the control to GUI
elements such as buttons, labels, menus, etc.
Signals:
glyphs
's value has been
modified, no arguments are passed to the handlers
caption
's value has been
modified, no arguments are passed to the handlers
Instance Variables | slave | object that the control will act on when activated (type: object ) |
glyphs | dictionary of image resources indexed by states that graphically represent what the control does (type: dictionary of states: str ) | |
caption | label that represents what the control does (type: str ) |
Line # | Kind | Name | Docs |
---|---|---|---|
62 | Method | __init__ | Constructor. |
77 | Method | caption__set | Undocumented |
81 | Method | caption__get | Undocumented |
86 | Method | glyphs__set | Undocumented |
90 | Method | glyphs__get | Undocumented |
95 | Method | activate | Activating the action runs the action code attached to the control. |
106 | Method | pre_activate | Code run prior to control activation. |
117 | Method | de_pre_activate | Code run after control activation. |
Parameters | controlled_object | object that the control will act on when activated (type: object ) |
Control implementations have to override this method.
Returns | (type: elisa.core.utils.defer.Deferred
) |
Control implementations have to override this method.
Returns | (type: elisa.core.utils.defer.Deferred
) |
Control implementations have to override this method.
Returns | (type: elisa.core.utils.defer.Deferred
) |