Class e.p.p.w.p.c.Counter(Widget):

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

Display a loading feedback containing:

It also provides facilities to fade in and fade out on its own.

Instance Variablesanimatedimplicitly animated self (type: pgm.timing.implicit.AnimatedObject )
backgroundgradient allowing readability (type: elisa.plugins.pigment.graph.image.Image )
captions_and_dotscontainer for captions and dots (type: elisa.plugins.pigment.widgets.box.HBox )
dotssubtle loading animation (type: elisa.plugins.poblesec.widgets.player.counter.Dots )
captionscontainer for caption and subcaption (type: elisa.plugins.pigment.widgets.box.VBox )
captionlabel with "Loading Photo" (type: elisa.plugins.pigment.graph.text.Text )
subcaptionlabel with "Photo x of y" (type: elisa.plugins.pigment.graph.text.Text )
Line # Kind Name Docs
131 Method __init__ Set the default styles for the widget. Subclasses should override and
145 Method clean Undocumented
194 Method set_loading Start/stop the subtle loading animation.
212 Method show Fade in the widget after delay seconds (0 seconds by default).
226 Method hide Fade out the widget.
233 Method set_index Set the 'x' value in "Photo x of y".
240 Method set_max Set the 'y' value in "Photo x of y".
152 Method _create_widgets Undocumented
181 Method _update_subcaption Undocumented
185 Method _cancel_delayed_show Undocumented
190 Method _do_show Undocumented

Inherited from Widget:

Line # Kind Name Docs
134 Method state__get The present state of the widget
138 Method state__set Set the state of the widget and emit the "state-changed" signal if
155 Method do_state_changed Default 'state-changed' handler
162 Method style__get The present style
166 Method style__set Set the present style, after binding it to the widget and subscribing
193 Method do_style_set Default 'style-set' signal handler
275 Method update_style_properties Update the widget's appearence basing on the properties set.
312 Method get_parent Get the parent, if exists.
320 Method get_children Get the list of direct children.
328 Method get_root Get the root of the widget's tree hierarchy
339 Method get_descendants Get the list of nodes in the subtree
376 Method focus__get Whether the widget has focus
380 Method focus__set Set the focus state on the widget emitting the 'focus' signal on the
417 Method focus_child__get Get the child with focus
423 Method do_key_press_event Default 'key-press-event' signal handler.
492 Class Method demo Create a demo widget, put it on a canvas and show it in a viewport.
96 Method _init_styles Undocumented
189 Method _style_property_changed Undocumented
198 Method _parse_style_key Parse a style property key into a couple (widget, attribute name).
236 Method _parse_style_value Parse a style property value.
353 Method _set_focused Set or unset the focused widget and update the focused child property of
435 Method _do_real_key_press_event Undocumented
445 Class Method _demo_create_viewport Undocumented
452 Class Method _on_demo_delete Undocumented
460 Class Method _demo_widget Meant to be overidden by inheriting widgets for widget creation and
471 Class Method _set_demo_widget_defaults Undocumented

Inherited from Group (via 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
173 Method remove Undocumented
192 Method empty Undocumented
202 Method __len__ 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 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
95 Method parent__get Undocumented
100 Method x__get Undocumented
106 Method x__set Undocumented
122 Method y__get Undocumented
128 Method y__set Undocumented
145 Method z__get Undocumented
151 Method z__set Undocumented
168 Method position__get Undocumented
174 Method position__set Undocumented
198 Method width__get Undocumented
204 Method width__set Undocumented
222 Method height__get Undocumented
228 Method height__set Undocumented
248 Method size__get Undocumented
254 Method size__set Undocumented
274 Method visible__get Undocumented
280 Method visible__set Undocumented
297 Method opacity__get Undocumented
303 Method opacity__set Undocumented
def __init__(self):
Set the default styles for the widget. Subclasses should override and call "self.update_style_properties(self.style.get_items())" after calling this base class constructor.
def clean(self):
Undocumented
def _create_widgets(self):
Undocumented
def _update_subcaption(self):
Undocumented
def _cancel_delayed_show(self):
Undocumented
def _do_show(self):
Undocumented
def set_loading(self, value):
Start/stop the subtle loading animation.
Parametersvaluewhether it should start or stop the loading animation (type: bool )
def show(self, delay=0.0):
Fade in the widget after delay seconds (0 seconds by default). If a fade in was already scheduled, nothing is done to change it.
Parametersdelaytime in seconds after which the fade in should happen (type: float )
def hide(self):
Fade out the widget.
def set_index(self, index):
Set the 'x' value in "Photo x of y".
def set_max(self, max):
Set the 'y' value in "Photo x of y".
API Documentation for Elisa Media Center, generated by pydoctor at 2009-03-16 19:10:32.