2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2019-04-01 18:33:56 +08:00
|
|
|
<class name="Slider" inherits="Range" category="Core" version="3.2">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
2019-06-22 07:04:47 +08:00
|
|
|
Base class for GUI sliders.
|
2017-09-13 04:42:36 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-06-22 07:04:47 +08:00
|
|
|
Base class for GUI sliders.
|
2017-09-13 04:42:36 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="editable" type="bool" setter="set_editable" getter="is_editable" default="true">
|
2019-04-19 17:21:09 +08: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-13 04:42:36 +08:00
|
|
|
</member>
|
2019-09-03 18:44:58 +08:00
|
|
|
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" override="true" enum="Control.FocusMode" default="2"/>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="scrollable" type="bool" setter="set_scrollable" getter="is_scrollable" default="true">
|
2019-04-19 17:21:09 +08:00
|
|
|
If [code]true[/code], the value can be changed using the mouse wheel.
|
2018-07-26 17:56:21 +08:00
|
|
|
</member>
|
2019-09-03 18:44:58 +08:00
|
|
|
<member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" override="true" default="0"/>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="tick_count" type="int" setter="set_ticks" getter="get_ticks" default="0">
|
2019-04-19 17:21:09 +08:00
|
|
|
Number of ticks displayed on the slider, including border ticks. Ticks are uniformly-distributed value markers.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="ticks_on_borders" type="bool" setter="set_ticks_on_borders" getter="get_ticks_on_borders" default="false">
|
2019-04-19 17:21:09 +08:00
|
|
|
If [code]true[/code], the slider will display ticks for minimum and maximum values.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|