class_hslider.rst 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/doc/classes/HSlider.xml.
  6. .. _class_HSlider:
  7. HSlider
  8. =======
  9. **Inherits:** :ref:`Slider<class_Slider>` **<** :ref:`Range<class_Range>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. Horizontal slider.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. Horizontal slider. See :ref:`Slider<class_Slider>`. This one goes from left (min) to right (max).
  15. \ **Note:** The :ref:`Range.changed<class_Range_signal_changed>` and :ref:`Range.value_changed<class_Range_signal_value_changed>` signals are part of the :ref:`Range<class_Range>` class which this class inherits from.
  16. .. rst-class:: classref-reftable-group
  17. Theme Properties
  18. ----------------
  19. .. table::
  20. :widths: auto
  21. +---------------------------------+---------------------------------------------------------------------------------+
  22. | :ref:`Texture<class_Texture>` | :ref:`grabber<class_HSlider_theme_icon_grabber>` |
  23. +---------------------------------+---------------------------------------------------------------------------------+
  24. | :ref:`Texture<class_Texture>` | :ref:`grabber_disabled<class_HSlider_theme_icon_grabber_disabled>` |
  25. +---------------------------------+---------------------------------------------------------------------------------+
  26. | :ref:`Texture<class_Texture>` | :ref:`grabber_highlight<class_HSlider_theme_icon_grabber_highlight>` |
  27. +---------------------------------+---------------------------------------------------------------------------------+
  28. | :ref:`Texture<class_Texture>` | :ref:`tick<class_HSlider_theme_icon_tick>` |
  29. +---------------------------------+---------------------------------------------------------------------------------+
  30. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_area<class_HSlider_theme_style_grabber_area>` |
  31. +---------------------------------+---------------------------------------------------------------------------------+
  32. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_area_highlight<class_HSlider_theme_style_grabber_area_highlight>` |
  33. +---------------------------------+---------------------------------------------------------------------------------+
  34. | :ref:`StyleBox<class_StyleBox>` | :ref:`slider<class_HSlider_theme_style_slider>` |
  35. +---------------------------------+---------------------------------------------------------------------------------+
  36. .. rst-class:: classref-section-separator
  37. ----
  38. .. rst-class:: classref-descriptions-group
  39. Theme Property Descriptions
  40. ---------------------------
  41. .. _class_HSlider_theme_icon_grabber:
  42. .. rst-class:: classref-themeproperty
  43. :ref:`Texture<class_Texture>` **grabber**
  44. The texture for the grabber (the draggable element).
  45. .. rst-class:: classref-item-separator
  46. ----
  47. .. _class_HSlider_theme_icon_grabber_disabled:
  48. .. rst-class:: classref-themeproperty
  49. :ref:`Texture<class_Texture>` **grabber_disabled**
  50. The texture for the grabber when it's disabled.
  51. .. rst-class:: classref-item-separator
  52. ----
  53. .. _class_HSlider_theme_icon_grabber_highlight:
  54. .. rst-class:: classref-themeproperty
  55. :ref:`Texture<class_Texture>` **grabber_highlight**
  56. The texture for the grabber when it's focused.
  57. .. rst-class:: classref-item-separator
  58. ----
  59. .. _class_HSlider_theme_icon_tick:
  60. .. rst-class:: classref-themeproperty
  61. :ref:`Texture<class_Texture>` **tick**
  62. The texture for the ticks, visible when :ref:`Slider.tick_count<class_Slider_property_tick_count>` is greater than 0.
  63. .. rst-class:: classref-item-separator
  64. ----
  65. .. _class_HSlider_theme_style_grabber_area:
  66. .. rst-class:: classref-themeproperty
  67. :ref:`StyleBox<class_StyleBox>` **grabber_area**
  68. The background of the area to the left of the grabber.
  69. .. rst-class:: classref-item-separator
  70. ----
  71. .. _class_HSlider_theme_style_grabber_area_highlight:
  72. .. rst-class:: classref-themeproperty
  73. :ref:`StyleBox<class_StyleBox>` **grabber_area_highlight**
  74. .. container:: contribute
  75. There is currently no description for this theme property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  76. .. rst-class:: classref-item-separator
  77. ----
  78. .. _class_HSlider_theme_style_slider:
  79. .. rst-class:: classref-themeproperty
  80. :ref:`StyleBox<class_StyleBox>` **slider**
  81. The background for the whole slider. Determines the height of the ``grabber_area``.
  82. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  83. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  84. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  85. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`