Slider#
The Slider widget looks like a scrollbar. It supports horizontal and vertical orientations, min/max values and a default value.
Properties#
Unique properties of the Slider
Widget#
Adjust these properties to customize the opacity of the widget
Properties
- Controls the opacity of the widget
Floating Point variable, defaults to 1.0
- Controls the rotation of the widget
Floating point variable, defaults to 0.0min:0.0max:360.0
- Controls the orientation
Provides: Horizontal ; Verticaldefaults to Horizontal
Layout#
Adjust these properties to customize the dimensions of the slider relative to the screen
Properties
- Controls if the widget should stretch to fill the available space or not
Boolean variable, defaults to False
Value#
Adjust the value of the widget
Properties
- Determines the size of each interval or step the slider takes between min and max.
Floating Point variable, defaults to 1.0
- Current value used for the slider
Floating Point variable, defaults to 1
- Minimum value allowed for value.
Floating Point variable, defaults to 0
- Maximum value allowed for value
Floating Point variable, defaults to 100
- Controls the slider’s background’s width (thickness)
Floating Point variable, defaults to 2
Track#
Properties
- Decides if slider should draw the line indicating the space between min and value properties values.
Boolean variable, defaults to True
- Color of the value in rgba format. ``` markdown
Cursor#
Allows the user to import a new cursor for the slider