Slider
Properties
enabled
bool default: true
You can’t interact with the slider if enabled is false.
has-focus
bool (out)
default: false
Set to true when the slider currently has the focus
value
float (in-out)
default: 0
The value. Defaults to the minimum.
step
float default: 1
The change step when pressing arrow key.
minimum
float default: 0
The minimum value.
maximum
float default: 100
The maximum value.
orientation
enum Orientation default: horizontal
Orientation
Represents the orientation of an element or widget such as the Slider
.
horizontal
: Element is oriented horizontally.vertical
: Element is oriented vertically.
If set to true the Slider is displayed vertical.
Callbacks
changed(float)
The value was changed
released(float)
Invoked when the user completed changing the slider’s value, i.e. when the press on the knob was released or the arrow keys lifted.
© 2024 SixtyFPS GmbH