class_vslider.rst 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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/VSlider.xml.
  6. .. _class_VSlider:
  7. VSlider
  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. Vertical slider.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. Vertical slider. See :ref:`Slider<class_Slider>`. This one goes from bottom (min) to top (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. Properties
  18. ----------
  19. .. table::
  20. :widths: auto
  21. +-----------------------+-----------------------+--------------------------------------------------------------------------------+
  22. | :ref:`int<class_int>` | size_flags_horizontal | ``0`` (overrides :ref:`Control<class_Control_property_size_flags_horizontal>`) |
  23. +-----------------------+-----------------------+--------------------------------------------------------------------------------+
  24. | :ref:`int<class_int>` | size_flags_vertical | ``1`` (overrides :ref:`Control<class_Control_property_size_flags_vertical>`) |
  25. +-----------------------+-----------------------+--------------------------------------------------------------------------------+
  26. .. rst-class:: classref-reftable-group
  27. Theme Properties
  28. ----------------
  29. .. table::
  30. :widths: auto
  31. +---------------------------------+---------------------------------------------------------------------------------+
  32. | :ref:`Texture<class_Texture>` | :ref:`grabber<class_VSlider_theme_icon_grabber>` |
  33. +---------------------------------+---------------------------------------------------------------------------------+
  34. | :ref:`Texture<class_Texture>` | :ref:`grabber_disabled<class_VSlider_theme_icon_grabber_disabled>` |
  35. +---------------------------------+---------------------------------------------------------------------------------+
  36. | :ref:`Texture<class_Texture>` | :ref:`grabber_highlight<class_VSlider_theme_icon_grabber_highlight>` |
  37. +---------------------------------+---------------------------------------------------------------------------------+
  38. | :ref:`Texture<class_Texture>` | :ref:`tick<class_VSlider_theme_icon_tick>` |
  39. +---------------------------------+---------------------------------------------------------------------------------+
  40. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_area<class_VSlider_theme_style_grabber_area>` |
  41. +---------------------------------+---------------------------------------------------------------------------------+
  42. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_area_highlight<class_VSlider_theme_style_grabber_area_highlight>` |
  43. +---------------------------------+---------------------------------------------------------------------------------+
  44. | :ref:`StyleBox<class_StyleBox>` | :ref:`slider<class_VSlider_theme_style_slider>` |
  45. +---------------------------------+---------------------------------------------------------------------------------+
  46. .. rst-class:: classref-section-separator
  47. ----
  48. .. rst-class:: classref-descriptions-group
  49. Theme Property Descriptions
  50. ---------------------------
  51. .. _class_VSlider_theme_icon_grabber:
  52. .. rst-class:: classref-themeproperty
  53. :ref:`Texture<class_Texture>` **grabber**
  54. The texture for the grabber (the draggable element).
  55. .. rst-class:: classref-item-separator
  56. ----
  57. .. _class_VSlider_theme_icon_grabber_disabled:
  58. .. rst-class:: classref-themeproperty
  59. :ref:`Texture<class_Texture>` **grabber_disabled**
  60. The texture for the grabber when it's disabled.
  61. .. rst-class:: classref-item-separator
  62. ----
  63. .. _class_VSlider_theme_icon_grabber_highlight:
  64. .. rst-class:: classref-themeproperty
  65. :ref:`Texture<class_Texture>` **grabber_highlight**
  66. The texture for the grabber when it's focused.
  67. .. rst-class:: classref-item-separator
  68. ----
  69. .. _class_VSlider_theme_icon_tick:
  70. .. rst-class:: classref-themeproperty
  71. :ref:`Texture<class_Texture>` **tick**
  72. The texture for the ticks, visible when :ref:`Slider.tick_count<class_Slider_property_tick_count>` is greater than 0.
  73. .. rst-class:: classref-item-separator
  74. ----
  75. .. _class_VSlider_theme_style_grabber_area:
  76. .. rst-class:: classref-themeproperty
  77. :ref:`StyleBox<class_StyleBox>` **grabber_area**
  78. The background of the area below the grabber.
  79. .. rst-class:: classref-item-separator
  80. ----
  81. .. _class_VSlider_theme_style_grabber_area_highlight:
  82. .. rst-class:: classref-themeproperty
  83. :ref:`StyleBox<class_StyleBox>` **grabber_area_highlight**
  84. .. container:: contribute
  85. There is currently no description for this theme property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  86. .. rst-class:: classref-item-separator
  87. ----
  88. .. _class_VSlider_theme_style_slider:
  89. .. rst-class:: classref-themeproperty
  90. :ref:`StyleBox<class_StyleBox>` **slider**
  91. The background for the whole slider. Determines the width of the ``grabber_area``.
  92. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  93. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  94. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  95. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`