Class e.p.p.v.PlayPauseControl(Control):

Part of elisa.plugins.poblesec.videoplayer_controls View In Hierarchy

Toggle the player state between play and pause.

Its slave passed to the constructor must be of type elisa.plugins.poblesec.player_video.PlayerController.

Line # Kind Name Docs
38 Method __init__ Constructor.
76 Method activate Activating the action runs the action code attached to the control.
46 Method _on_player_status_changed Undocumented
50 Method _update_glyphs Undocumented
67 Method _update_caption Undocumented

Inherited from Control:

Line # Kind Name Docs
77 Method caption__set Undocumented
81 Method caption__get Undocumented
86 Method glyphs__set Undocumented
90 Method glyphs__get Undocumented
106 Method pre_activate Code run prior to control activation.
117 Method de_pre_activate Code run after control activation.
def __init__(self, *args):
Constructor.
Parameterscontrolled_objectobject that the control will act on when activated (type: object )
def _on_player_status_changed(self, player, status):
Undocumented
def _update_glyphs(self):
Undocumented
def _update_caption(self):
Undocumented
def activate(self):
Activating the action runs the action code attached to the control. For example it can be the code executed when a button is clicked.

Control implementations have to override this method.

Returns (type: elisa.core.utils.defer.Deferred )
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.