Part of elisa.plugins.poblesec.widgets.player.control_ribbon View In Hierarchy
Instance Variables | buttons | horizontal box containing the control buttons
(type: elisa.plugins.pigment.widgets.box.HBox
) |
caption | text displaying the meaning of the selected action
(type: elisa.plugins.pigment.graph.text.Text
) | |
selected_control | control currently selected
(type: Control
) | |
animated | implicit animation object linked to the ribbon
(type: pgm.timing.implicit.AnimatedObject
) |
Line # | Kind | Name | Docs |
---|---|---|---|
143 | Method | __init__ | Set the default styles for the widget. Subclasses should override and |
207 | Method | clean | Undocumented |
236 | Method | controls | Undocumented |
239 | Method | add_control | Append a control to the ribbon. As a visual representation of the |
307 | Method | remove_control | Remove a Control
from the ribbon. All signals connected to |
332 | Method | is_visible | Is the control ribbon shown or not to the user. |
343 | Method | hide | Hide the control ribbon using a smooth fade out. |
349 | Method | show | Show the control ribbon using a smooth fade in. |
360 | Method | select_next_control | Select the next control in the list of controls that were added to |
377 | Method | select_previous_control | Select the previous control in the list of controls that were added to |
215 | Method | _update_caption | Undocumented |
221 | Method | _control_clicked | Undocumented |
226 | Method | _control_pressed | Undocumented |
231 | Method | _control_released | Undocumented |
396 | Class Method | _demo_widget | Meant to be overidden by inheriting widgets for widget creation and |
Inherited from VBox:
Line # | Kind | Name | Docs |
---|---|---|---|
412 | Method | _insert_new_child | Undocumented |
423 | Method | _layout | Undocumented |
Inherited from Box (via VBox):
Line # | Kind | Name | Docs |
---|---|---|---|
96 | Method | create_widgets | Override this method in subclasses to create subwidgets. |
102 | Method | update_style_properties | Update the widget's appearence basing on the properties set. |
150 | Method | pack_start | Add widget to
the box packed after any other widget packed using |
167 | Method | pack_end | Add widget to
the box packed after any other widget packed using |
184 | Method | remove | Undocumented |
201 | Method | pop | Undocumented |
224 | Method | __len__ | Undocumented |
227 | Method | __contains__ | Undocumented |
257 | Method | spacing__get | Undocumented |
260 | Method | spacing__set | Undocumented |
266 | Method | alignment__get | Undocumented |
269 | Method | alignment__set | Undocumented |
117 | Method | _queue_layout | Undocumented |
127 | Method | _child_resized_callback | Undocumented |
130 | Method | _child_changed_callback | Undocumented |
139 | Method | _disconnect_child | Undocumented |
215 | Method | _remove_packed_child | Undocumented |
244 | Method | _connect_to_child_signals | Undocumented |
279 | Method | _prelayout_children | Compute the size of children packed with expand set to True and the |
Inherited from Widget (via VBox, Box):
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 |
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 |
471 | Class Method | _set_demo_widget_defaults | Undocumented |
Inherited from Group (via VBox, 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 VBox, 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 |
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 |
elisa.plugins.poblesec.widgets.player.button.Button
and constantly reflect their associated control.
The buttons are forced to be visually square.
Parameters | control | control to be added to the ribbon
(type: Control
) |
Returns | whether or not the ribbon is visible
(type: bool
) |