.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/Slider.xml. .. _class_Slider: Slider ====== **Inherits:** :ref:`Range` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Inherited By:** :ref:`HSlider`, :ref:`VSlider` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+ | :ref:`bool` | :ref:`editable` | ``true`` | +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+ | :ref:`FocusMode` | focus_mode | ``2`` (overrides :ref:`Control`) | +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+ | :ref:`bool` | :ref:`scrollable` | ``true`` | +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+ | :ref:`float` | step | ``1.0`` (overrides :ref:`Range`) | +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+ | :ref:`int` | :ref:`tick_count` | ``0`` | +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+ | :ref:`bool` | :ref:`ticks_on_borders` | ``false`` | +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Theme Properties ---------------- .. table:: :widths: auto +-----------------------------------+--------------------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`center_grabber` | ``0`` | +-----------------------------------+--------------------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`grabber_offset` | ``0`` | +-----------------------------------+--------------------------------------------------------------------------------+-------+ | :ref:`Texture2D` | :ref:`grabber` | | +-----------------------------------+--------------------------------------------------------------------------------+-------+ | :ref:`Texture2D` | :ref:`grabber_disabled` | | +-----------------------------------+--------------------------------------------------------------------------------+-------+ | :ref:`Texture2D` | :ref:`grabber_highlight` | | +-----------------------------------+--------------------------------------------------------------------------------+-------+ | :ref:`Texture2D` | :ref:`tick` | | +-----------------------------------+--------------------------------------------------------------------------------+-------+ | :ref:`StyleBox` | :ref:`grabber_area` | | +-----------------------------------+--------------------------------------------------------------------------------+-------+ | :ref:`StyleBox` | :ref:`grabber_area_highlight` | | +-----------------------------------+--------------------------------------------------------------------------------+-------+ | :ref:`StyleBox` | :ref:`slider` | | +-----------------------------------+--------------------------------------------------------------------------------+-------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Signals ------- .. _class_Slider_signal_drag_ended: .. rst-class:: classref-signal **drag_ended** **(** :ref:`bool` value_changed **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_signal_drag_started: .. rst-class:: classref-signal **drag_started** **(** **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_Slider_property_editable: .. rst-class:: classref-property :ref:`bool` **editable** = ``true`` .. rst-class:: classref-property-setget - void **set_editable** **(** :ref:`bool` value **)** - :ref:`bool` **is_editable** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_property_scrollable: .. rst-class:: classref-property :ref:`bool` **scrollable** = ``true`` .. rst-class:: classref-property-setget - void **set_scrollable** **(** :ref:`bool` value **)** - :ref:`bool` **is_scrollable** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_property_tick_count: .. rst-class:: classref-property :ref:`int` **tick_count** = ``0`` .. rst-class:: classref-property-setget - void **set_ticks** **(** :ref:`int` value **)** - :ref:`int` **get_ticks** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_property_ticks_on_borders: .. rst-class:: classref-property :ref:`bool` **ticks_on_borders** = ``false`` .. rst-class:: classref-property-setget - void **set_ticks_on_borders** **(** :ref:`bool` value **)** - :ref:`bool` **get_ticks_on_borders** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Theme Property Descriptions --------------------------- .. _class_Slider_theme_constant_center_grabber: .. rst-class:: classref-themeproperty :ref:`int` **center_grabber** = ``0`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_theme_constant_grabber_offset: .. rst-class:: classref-themeproperty :ref:`int` **grabber_offset** = ``0`` .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_theme_icon_grabber: .. rst-class:: classref-themeproperty :ref:`Texture2D` **grabber** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_theme_icon_grabber_disabled: .. rst-class:: classref-themeproperty :ref:`Texture2D` **grabber_disabled** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_theme_icon_grabber_highlight: .. rst-class:: classref-themeproperty :ref:`Texture2D` **grabber_highlight** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_theme_icon_tick: .. rst-class:: classref-themeproperty :ref:`Texture2D` **tick** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_theme_style_grabber_area: .. rst-class:: classref-themeproperty :ref:`StyleBox` **grabber_area** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_theme_style_grabber_area_highlight: .. rst-class:: classref-themeproperty :ref:`StyleBox` **grabber_area_highlight** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Slider_theme_style_slider: .. rst-class:: classref-themeproperty :ref:`StyleBox` **slider** .. container:: contribute There is currently no description for this theme property. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`