2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2018-02-27 12:40:43 +00:00
|
|
|
<class name="Slider" inherits="Range" category="Core" version="3.1">
|
2017-09-12 20:42:36 +00:00
|
|
|
<brief_description>
|
|
|
|
Base class for GUI Sliders.
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
Base class for GUI Sliders.
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="editable" type="bool" setter="set_editable" getter="is_editable">
|
2019-04-11 19:01:22 +00:00
|
|
|
If [code]true[/code], the slider can be interacted with. If [code]false[/code], the value can be changed only by code.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode">
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2018-07-26 09:56:21 +00:00
|
|
|
<member name="scrollable" type="bool" setter="set_scrollable" getter="is_scrollable">
|
2019-04-11 19:01:22 +00:00
|
|
|
If [code]true[/code], the value can be changed using the mouse wheel.
|
2018-07-26 09:56:21 +00:00
|
|
|
</member>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="tick_count" type="int" setter="set_ticks" getter="get_ticks">
|
2019-04-11 19:01:22 +00:00
|
|
|
Number of ticks displayed on the slider, including border ticks. Ticks are uniformly-distributed value markers.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="ticks_on_borders" type="bool" setter="set_ticks_on_borders" getter="get_ticks_on_borders">
|
2019-04-11 19:01:22 +00:00
|
|
|
If [code]true[/code], the slider will display ticks for minimum and maximum values.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|