Class e.p.p.w.p.s.StatusDisplay(HBox):

Part of elisa.plugins.poblesec.widgets.player.status_display View In Hierarchy

Known subclasses: elisa.plugins.poblesec.widgets.player.status_display.PictureStatusDisplay, elisa.plugins.poblesec.widgets.player.status_display.VideoStatusDisplay

Main widget that displays the details of the current file: preview, title, detailed info, seeking bar and position information.

It is a horizontal box that contains 3 elements: Emit the signals:
Instance Variablescurrent_indexthe current value, from 0 to (items_number - 1) (type: int )
Line # Kind Name Docs
369 Method __init__ Set the default styles for the widget. Subclasses should override and
440 Method set_seeking_duration Set the duration of the seeking bar
452 Method set_seeking_position Set the position of the seeking bar
497 Method set_volume_max Set the maximum (duration) of the volume bar
509 Method set_volume_position Set the volume level in the volume bar
416 Method _update_status_style_properties Undocumented
435 Method _format_bar_position Undocumented
471 Method _update_seeking_counter Undocumented
476 Method _seeking_bar_index_cb Undocumented
486 Method _volume_bar_index_cb Undocumented
521 Method _update_volume_counter update the labels and the volume bar
536 Class Method _demo_widget Meant to be overidden by inheriting widgets for widget creation and

Inherited from HBox:

Line # Kind Name Docs
389 Method _layout Undocumented

Inherited from Box (via HBox):

Line # Kind Name Docs
149 Method clean Undocumented
160 Method pack_start Add widget to the box packed after any other widget packed using
177 Method pack_end Add widget to the box packed after any other widget packed using
194 Method remove Undocumented
211 Method pop Undocumented
234 Method __len__ Undocumented
237 Method __contains__ Undocumented
265 Method spacing__get Undocumented
268 Method spacing__set Undocumented
274 Method alignment__get Undocumented
277 Method alignment__set Undocumented
102 Method _update_style_properties Update the widget's appearence basing on the properties set.
117 Method _queue_layout Undocumented
127 Method _resized_callback Undocumented
130 Method _repositioned_callback Undocumented
133 Method _child_resized_callback Undocumented
136 Method _child_changed_callback Undocumented
145 Method _disconnect_child Undocumented
225 Method _remove_packed_child Undocumented
248 Method _insert_new_child Undocumented
287 Method _prelayout_children Compute the size of children packed with expand set to True and the

Inherited from Widget (via HBox, Box):

Line # Kind Name Docs
140 Method state__get The present state of the widget
144 Method state__set Set the state of the widget and emit the "state-changed" signal if
161 Method do_state_changed Default 'state-changed' handler
168 Method style__get The present style
172 Method style__set Set the present style, after binding it to the widget and subscribing
199 Method do_style_set Default 'style-set' signal handler
221 Method get_parent Get the parent, if exists.
229 Method get_children Get the list of direct children.
237 Method get_root Get the root of the widget's tree hierarchy
248 Method get_descendants Get the list of nodes in the subtree
285 Method focus__get Whether the widget has focus
289 Method focus__set Set the focus state on the widget emitting the 'focus' signal on the
326 Method focus_child__get Get the child with focus
332 Method do_key_press_event Default 'key-press-event' signal handler.
401 Class Method demo Create a demo widget, put it on a canvas and show it in a viewport.
97 Method _init_styles Undocumented
195 Method _style_property_changed Undocumented
262 Method _set_focused Set or unset the focused widget and update the focused child property of
344 Method _do_real_key_press_event Undocumented
354 Class Method _demo_create_viewport Undocumented
361 Class Method _on_demo_delete Undocumented
380 Class Method _set_demo_widget_defaults Undocumented

Inherited from Group (via HBox, Box, Widget):

Line # Kind Name Docs
85 Method canvas__set Undocumented
105 Method canvas__get Undocumented
110 Method layer__set Undocumented
123 Method layer__get Undocumented
131 Method add Undocumented
192 Method empty Undocumented
205 Method __iter__ Undocumented
208 Method update_absolute_x Undocumented
215 Method update_absolute_y Undocumented
222 Method update_absolute_z Undocumented
229 Method update_absolute_position Undocumented
236 Method update_absolute_width Undocumented
245 Method update_absolute_height Undocumented
254 Method update_absolute_size Undocumented
263 Method update_absolute_visible Undocumented
268 Method update_absolute_opacity Undocumented
274 Method regenerate Undocumented
161 Method _proxy_child_signal_scrolled Undocumented
165 Method _proxy_child_signal Undocumented
169 Method _proxy_child_signal_with_pressure Undocumented

Inherited from Node (via HBox, Box, Widget, Group):

Line # Kind Name Docs
39 Method absolute_width__get Undocumented
42 Method absolute_width__set Undocumented
47 Method absolute_height__get Undocumented
50 Method absolute_height__set Undocumented
55 Method absolute_x__get Undocumented
58 Method absolute_x__set Undocumented
64 Method absolute_y__get Undocumented
67 Method absolute_y__set Undocumented
73 Method absolute_z__get Undocumented
76 Method absolute_z__set Undocumented
82 Method parent__set Undocumented
102 Method parent__get Undocumented
107 Method x__get Undocumented
113 Method x__set Undocumented
129 Method y__get Undocumented
135 Method y__set Undocumented
152 Method z__get Undocumented
158 Method z__set Undocumented
175 Method position__get Undocumented
181 Method position__set Undocumented
205 Method width__get Undocumented
211 Method width__set Undocumented
229 Method height__get Undocumented
235 Method height__set Undocumented
255 Method size__get Undocumented
261 Method size__set Undocumented
281 Method visible__get Undocumented
287 Method visible__set Undocumented
305 Method opacity__get Undocumented
311 Method opacity__set Undocumented
def __init__(self):
Set the default styles for the widget. Subclasses should override and call "self._update_style_properties()" after calling this base class constructor.
def _update_status_style_properties(self, props=None):
Undocumented
def _format_bar_position(self, value):
Undocumented
def set_seeking_duration(self, length):
Set the duration of the seeking bar
Parameterslengththe position to set (type: int )
def set_seeking_position(self, value):
Set the position of the seeking bar
Parametersvaluethe position to set (type: int )
def _update_seeking_counter(self):
Undocumented
def _seeking_bar_index_cb(self, widget, index, old_index):
Undocumented
def _volume_bar_index_cb(self, widget, index, old_index):
Undocumented
def set_volume_max(self, value):
Set the maximum (duration) of the volume bar
Parametersvaluethe volume maximum value (type: int )
def set_volume_position(self, value):
Set the volume level in the volume bar
Parametersvaluethe volume value (type: int )
def _update_volume_counter(self):
update the labels and the volume bar
@classmethod
def _demo_widget(cls, *args, **kwargs):
Meant to be overidden by inheriting widgets for widget creation and setup at demo time.
Returnselisa.plugins.pigment.widgets.Widget
API Documentation for Elisa Media Center, generated by pydoctor at 2008-11-19 19:51:49.