Added some documentation for Slider

(cherry picked from commit de4877e1fc)
This commit is contained in:
Tomasz Chabora 2019-04-11 21:01:22 +02:00 committed by Rémi Verschelde
parent fd4a65df7b
commit 28f547a021
2 changed files with 5 additions and 1 deletions

View File

@ -14,14 +14,18 @@
</methods>
<members>
<member name="editable" type="bool" setter="set_editable" getter="is_editable">
If [code]true[/code], the slider can be interacted with. If [code]false[/code], the value can be changed only by code.
</member>
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode">
</member>
<member name="scrollable" type="bool" setter="set_scrollable" getter="is_scrollable">
If [code]true[/code], the value can be changed using the mouse wheel.
</member>
<member name="tick_count" type="int" setter="set_ticks" getter="get_ticks">
Number of ticks displayed on the slider, including border ticks. Ticks are uniformly-distributed value markers.
</member>
<member name="ticks_on_borders" type="bool" setter="set_ticks_on_borders" getter="get_ticks_on_borders">
If [code]true[/code], the slider will display ticks for minimum and maximum values.
</member>
</members>
<constants>

View File

@ -4,7 +4,7 @@
Vertical slider.
</brief_description>
<description>
Vertical slider. See [Slider]. This one goes from left (min) to right (max).
Vertical slider. See [Slider]. This one goes from bottom (min) to top (max).
</description>
<tutorials>
</tutorials>