Added some documentation for Slider
This commit is contained in:
parent
c1dcdf6109
commit
de4877e1fc
|
@ -14,14 +14,18 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="editable" type="bool" setter="set_editable" getter="is_editable">
|
<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>
|
||||||
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode">
|
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode">
|
||||||
</member>
|
</member>
|
||||||
<member name="scrollable" type="bool" setter="set_scrollable" getter="is_scrollable">
|
<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>
|
||||||
<member name="tick_count" type="int" setter="set_ticks" getter="get_ticks">
|
<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>
|
||||||
<member name="ticks_on_borders" type="bool" setter="set_ticks_on_borders" getter="get_ticks_on_borders">
|
<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>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
Vertical slider.
|
Vertical slider.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<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>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
|
|
Loading…
Reference in New Issue