class_vslider.rst 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/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:`SizeFlags<enum_Control_SizeFlags>` | size_flags_horizontal | ``0`` (overrides :ref:`Control<class_Control_property_size_flags_horizontal>`) |
  23. +------------------------------------------+-----------------------+--------------------------------------------------------------------------------+
  24. | :ref:`SizeFlags<enum_Control_SizeFlags>` | 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:`int<class_int>` | :ref:`grabber_offset<class_VSlider_theme_constant_grabber_offset>` | ``0`` |
  33. +-----------------------------------+---------------------------------------------------------------------------------+-------+
  34. | :ref:`Texture2D<class_Texture2D>` | :ref:`grabber<class_VSlider_theme_icon_grabber>` | |
  35. +-----------------------------------+---------------------------------------------------------------------------------+-------+
  36. | :ref:`Texture2D<class_Texture2D>` | :ref:`grabber_disabled<class_VSlider_theme_icon_grabber_disabled>` | |
  37. +-----------------------------------+---------------------------------------------------------------------------------+-------+
  38. | :ref:`Texture2D<class_Texture2D>` | :ref:`grabber_highlight<class_VSlider_theme_icon_grabber_highlight>` | |
  39. +-----------------------------------+---------------------------------------------------------------------------------+-------+
  40. | :ref:`Texture2D<class_Texture2D>` | :ref:`tick<class_VSlider_theme_icon_tick>` | |
  41. +-----------------------------------+---------------------------------------------------------------------------------+-------+
  42. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_area<class_VSlider_theme_style_grabber_area>` | |
  43. +-----------------------------------+---------------------------------------------------------------------------------+-------+
  44. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_area_highlight<class_VSlider_theme_style_grabber_area_highlight>` | |
  45. +-----------------------------------+---------------------------------------------------------------------------------+-------+
  46. | :ref:`StyleBox<class_StyleBox>` | :ref:`slider<class_VSlider_theme_style_slider>` | |
  47. +-----------------------------------+---------------------------------------------------------------------------------+-------+
  48. .. rst-class:: classref-section-separator
  49. ----
  50. .. rst-class:: classref-descriptions-group
  51. Theme Property Descriptions
  52. ---------------------------
  53. .. _class_VSlider_theme_constant_grabber_offset:
  54. .. rst-class:: classref-themeproperty
  55. :ref:`int<class_int>` **grabber_offset** = ``0``
  56. Horizontal offset of the grabber.
  57. .. rst-class:: classref-item-separator
  58. ----
  59. .. _class_VSlider_theme_icon_grabber:
  60. .. rst-class:: classref-themeproperty
  61. :ref:`Texture2D<class_Texture2D>` **grabber**
  62. The texture for the grabber (the draggable element).
  63. .. rst-class:: classref-item-separator
  64. ----
  65. .. _class_VSlider_theme_icon_grabber_disabled:
  66. .. rst-class:: classref-themeproperty
  67. :ref:`Texture2D<class_Texture2D>` **grabber_disabled**
  68. The texture for the grabber when it's disabled.
  69. .. rst-class:: classref-item-separator
  70. ----
  71. .. _class_VSlider_theme_icon_grabber_highlight:
  72. .. rst-class:: classref-themeproperty
  73. :ref:`Texture2D<class_Texture2D>` **grabber_highlight**
  74. The texture for the grabber when it's focused.
  75. .. rst-class:: classref-item-separator
  76. ----
  77. .. _class_VSlider_theme_icon_tick:
  78. .. rst-class:: classref-themeproperty
  79. :ref:`Texture2D<class_Texture2D>` **tick**
  80. The texture for the ticks, visible when :ref:`Slider.tick_count<class_Slider_property_tick_count>` is greater than 0.
  81. .. rst-class:: classref-item-separator
  82. ----
  83. .. _class_VSlider_theme_style_grabber_area:
  84. .. rst-class:: classref-themeproperty
  85. :ref:`StyleBox<class_StyleBox>` **grabber_area**
  86. The background of the area below the grabber.
  87. .. rst-class:: classref-item-separator
  88. ----
  89. .. _class_VSlider_theme_style_grabber_area_highlight:
  90. .. rst-class:: classref-themeproperty
  91. :ref:`StyleBox<class_StyleBox>` **grabber_area_highlight**
  92. The background of the area below the grabber that displays when it's being hovered or focused.
  93. .. rst-class:: classref-item-separator
  94. ----
  95. .. _class_VSlider_theme_style_slider:
  96. .. rst-class:: classref-themeproperty
  97. :ref:`StyleBox<class_StyleBox>` **slider**
  98. The background for the whole slider. Determines the width of the ``grabber_area``.
  99. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  100. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  101. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  102. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  103. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  104. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`