Class Slider
A Frame with a movable texture.
This frame contains a special texture, the "slider thumb". It can be moved along a single axis (X or Y) and its position can be used to represent a value (for configuration menus, or scroll bars).
Events. Hard-coded events available to all Sliders, in addition to those from Frame:
OnValueChanged
: Triggered whenever the value controlled by the slider changes. This is triggered whenever the user moves the slider thumb, and by Slider:set_value. This can also be triggered by Slider:set_min_value, Slider:set_max_value, Slider:set_min_max_values, and Slider:set_value_step if the previous value would not satisfy the new constraints.
Inherits all methods from: Region, Frame.
Child classes: none.
Methods
Methods
- slider:allow_clicks_outside_thumb()
- slider:get_max_value()
- slider:get_min_value()
- slider:get_min_max_values()
- slider:get_orientation()
- slider:get_thumb_texture()
- slider:get_value()
- slider:get_value_step()
- slider:set_max_value()
- slider:set_min_value()
- slider:set_min_max_values()
- slider:set_orientation()
- slider:set_thumb_texture()
- slider:set_value_step()
- slider:set_value()