Scale#
- class ignis.widgets.Widget.Scale(*args: Any, **kwargs: Any)#
Bases:
Gtk.Scale
A slider widget.
- Overrided properties:
value_pos: Position where the current value is displayed. Works only if
draw_value
is set toTrue
. Default:top
.
- Value position:
left
right
top
bottom
Widget.Scale( vertical=False, min=0, max=100, step=1, value=20, on_change=lambda x: print(x.value), draw_value=True, value_pos='top' )