.. 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` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Inherited By:** :ref:`HSlider`, :ref:`VSlider` **Category:** Core Brief Description ----------------- Base class for GUI Sliders. Member Functions ---------------- +--------------------------+----------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_ticks` **(** **)** const | +--------------------------+----------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_ticks_on_borders` **(** **)** const | +--------------------------+----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_ticks` **(** :ref:`int` count **)** | +--------------------------+----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_ticks_on_borders` **(** :ref:`bool` ticks_on_border **)** | +--------------------------+----------------------------------------------------------------------------------------------------------------------+ Description ----------- Base class for GUI Sliders. Member Function Description --------------------------- .. _class_Slider_get_ticks: - :ref:`int` **get_ticks** **(** **)** const Return amounts of ticks to display on slider. .. _class_Slider_get_ticks_on_borders: - :ref:`bool` **get_ticks_on_borders** **(** **)** const Return true if ticks are visible on borders. .. _class_Slider_set_ticks: - void **set_ticks** **(** :ref:`int` count **)** Set amount of ticks to display in slider. .. _class_Slider_set_ticks_on_borders: - void **set_ticks_on_borders** **(** :ref:`bool` ticks_on_border **)** Set true if ticks are visible on borders.