mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
967bfb0c4a
It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}", limits unnecessary diffs.
74 lines
1.9 KiB
XML
74 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="Slider" inherits="Range" category="Core" version="3.0-alpha">
|
|
<brief_description>
|
|
Base class for GUI Sliders.
|
|
</brief_description>
|
|
<description>
|
|
Base class for GUI Sliders.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="get_ticks" qualifiers="const">
|
|
<return type="int">
|
|
</return>
|
|
<description>
|
|
Return amounts of ticks to display on slider.
|
|
</description>
|
|
</method>
|
|
<method name="get_ticks_on_borders" qualifiers="const">
|
|
<return type="bool">
|
|
</return>
|
|
<description>
|
|
Return true if ticks are visible on borders.
|
|
</description>
|
|
</method>
|
|
<method name="is_editable" qualifiers="const">
|
|
<return type="bool">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_editable">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="editable" type="bool">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_ticks">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="count" type="int">
|
|
</argument>
|
|
<description>
|
|
Set amount of ticks to display in slider.
|
|
</description>
|
|
</method>
|
|
<method name="set_ticks_on_borders">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="ticks_on_border" type="bool">
|
|
</argument>
|
|
<description>
|
|
Set true if ticks are visible on borders.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="editable" type="bool" setter="set_editable" getter="is_editable">
|
|
</member>
|
|
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode">
|
|
</member>
|
|
<member name="tick_count" type="int" setter="set_ticks" getter="get_ticks">
|
|
</member>
|
|
<member name="ticks_on_borders" type="bool" setter="set_ticks_on_borders" getter="get_ticks_on_borders">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|