123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
- .. _class_Slider:
- Slider
- ======
- **Inherits:** :ref:`Range<class_range>` **<** :ref:`Control<class_control>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
- **Inherited By:** :ref:`HSlider<class_hslider>`, :ref:`VSlider<class_vslider>`
- **Category:** Core
- Brief Description
- -----------------
- Base class for GUI Sliders.
- Member Functions
- ----------------
- +--------------------------+----------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_ticks<class_Slider_get_ticks>` **(** **)** const |
- +--------------------------+----------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`get_ticks_on_borders<class_Slider_get_ticks_on_borders>` **(** **)** const |
- +--------------------------+----------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_ticks<class_Slider_set_ticks>` **(** :ref:`int<class_int>` count **)** |
- +--------------------------+----------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_ticks_on_borders<class_Slider_set_ticks_on_borders>` **(** :ref:`bool<class_bool>` ticks_on_border **)** |
- +--------------------------+----------------------------------------------------------------------------------------------------------------------+
- Description
- -----------
- Base class for GUI Sliders.
- Member Function Description
- ---------------------------
- .. _class_Slider_get_ticks:
- - :ref:`int<class_int>` **get_ticks** **(** **)** const
- Return amounts of ticks to display on slider.
- .. _class_Slider_get_ticks_on_borders:
- - :ref:`bool<class_bool>` **get_ticks_on_borders** **(** **)** const
- Return true if ticks are visible on borders.
- .. _class_Slider_set_ticks:
- - void **set_ticks** **(** :ref:`int<class_int>` count **)**
- Set amount of ticks to display in slider.
- .. _class_Slider_set_ticks_on_borders:
- - void **set_ticks_on_borders** **(** :ref:`bool<class_bool>` ticks_on_border **)**
- Set true if ticks are visible on borders.
|