Slider
- class Slider
A
Slidercan be used where a number is expected, for example as a coordinate for aPoint, or in a calculation with aNumber.- Slider(min_value, max_value, **kwargs)
Create a new
Sliderallowing values between the given min_value and the given max_value. Keyword args can be:increment — number, default 0.1
speed — number, default 1.0
width — number, default 100
isAngle — bool, default false
isHorizontal — bool, default true
isAnimating — bool, default false
isRandom — bool, default false
- property value
(Get/set) The current value of the
Slider. Getting value gives a Pythonfloat. If you try to set value outside the range given when constructing theSlider, the value is clamped to the appropriate end of the range.
A
Slideralso has the following common properties:
See also