godot/doc/classes/Slider.xml

74 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="Slider" inherits="Range" category="Core" version="3.0.alpha.custom_build">
<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" brief="">
</member>
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" brief="" enum="Control.FocusMode">
</member>
<member name="tick_count" type="int" setter="set_ticks" getter="get_ticks" brief="">
</member>
<member name="ticks_on_borders" type="bool" setter="set_ticks_on_borders" getter="get_ticks_on_borders" brief="">
</member>
</members>
<constants>
</constants>
</class>