class_vscrollbar.rst 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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/VScrollBar.xml.
  6. .. _class_VScrollBar:
  7. VScrollBar
  8. ==========
  9. **Inherits:** :ref:`ScrollBar<class_ScrollBar>` **<** :ref:`Range<class_Range>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. Vertical scroll bar.
  11. Description
  12. -----------
  13. Vertical version of :ref:`ScrollBar<class_ScrollBar>`, which goes from top (min) to bottom (max).
  14. Properties
  15. ----------
  16. +-----------------------+-----------------------+--------------------------------------------------------------------------------+
  17. | :ref:`int<class_int>` | size_flags_horizontal | ``0`` (overrides :ref:`Control<class_Control_property_size_flags_horizontal>`) |
  18. +-----------------------+-----------------------+--------------------------------------------------------------------------------+
  19. | :ref:`int<class_int>` | size_flags_vertical | ``1`` (overrides :ref:`Control<class_Control_property_size_flags_vertical>`) |
  20. +-----------------------+-----------------------+--------------------------------------------------------------------------------+
  21. Theme Properties
  22. ----------------
  23. +-----------------------------------+-----------------------------------------------------------------------------+
  24. | :ref:`Texture2D<class_Texture2D>` | :ref:`decrement<class_VScrollBar_theme_icon_decrement>` |
  25. +-----------------------------------+-----------------------------------------------------------------------------+
  26. | :ref:`Texture2D<class_Texture2D>` | :ref:`decrement_highlight<class_VScrollBar_theme_icon_decrement_highlight>` |
  27. +-----------------------------------+-----------------------------------------------------------------------------+
  28. | :ref:`Texture2D<class_Texture2D>` | :ref:`decrement_pressed<class_VScrollBar_theme_icon_decrement_pressed>` |
  29. +-----------------------------------+-----------------------------------------------------------------------------+
  30. | :ref:`Texture2D<class_Texture2D>` | :ref:`increment<class_VScrollBar_theme_icon_increment>` |
  31. +-----------------------------------+-----------------------------------------------------------------------------+
  32. | :ref:`Texture2D<class_Texture2D>` | :ref:`increment_highlight<class_VScrollBar_theme_icon_increment_highlight>` |
  33. +-----------------------------------+-----------------------------------------------------------------------------+
  34. | :ref:`Texture2D<class_Texture2D>` | :ref:`increment_pressed<class_VScrollBar_theme_icon_increment_pressed>` |
  35. +-----------------------------------+-----------------------------------------------------------------------------+
  36. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber<class_VScrollBar_theme_style_grabber>` |
  37. +-----------------------------------+-----------------------------------------------------------------------------+
  38. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_highlight<class_VScrollBar_theme_style_grabber_highlight>` |
  39. +-----------------------------------+-----------------------------------------------------------------------------+
  40. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_pressed<class_VScrollBar_theme_style_grabber_pressed>` |
  41. +-----------------------------------+-----------------------------------------------------------------------------+
  42. | :ref:`StyleBox<class_StyleBox>` | :ref:`scroll<class_VScrollBar_theme_style_scroll>` |
  43. +-----------------------------------+-----------------------------------------------------------------------------+
  44. | :ref:`StyleBox<class_StyleBox>` | :ref:`scroll_focus<class_VScrollBar_theme_style_scroll_focus>` |
  45. +-----------------------------------+-----------------------------------------------------------------------------+
  46. Theme Property Descriptions
  47. ---------------------------
  48. .. _class_VScrollBar_theme_icon_decrement:
  49. - :ref:`Texture2D<class_Texture2D>` **decrement**
  50. Icon used as a button to scroll the :ref:`ScrollBar<class_ScrollBar>` up. Supports custom step using the :ref:`ScrollBar.custom_step<class_ScrollBar_property_custom_step>` property.
  51. ----
  52. .. _class_VScrollBar_theme_icon_decrement_highlight:
  53. - :ref:`Texture2D<class_Texture2D>` **decrement_highlight**
  54. Displayed when the mouse cursor hovers over the decrement button.
  55. ----
  56. .. _class_VScrollBar_theme_icon_decrement_pressed:
  57. - :ref:`Texture2D<class_Texture2D>` **decrement_pressed**
  58. Displayed when the decrement button is being pressed.
  59. ----
  60. .. _class_VScrollBar_theme_icon_increment:
  61. - :ref:`Texture2D<class_Texture2D>` **increment**
  62. Icon used as a button to scroll the :ref:`ScrollBar<class_ScrollBar>` down. Supports custom step using the :ref:`ScrollBar.custom_step<class_ScrollBar_property_custom_step>` property.
  63. ----
  64. .. _class_VScrollBar_theme_icon_increment_highlight:
  65. - :ref:`Texture2D<class_Texture2D>` **increment_highlight**
  66. Displayed when the mouse cursor hovers over the increment button.
  67. ----
  68. .. _class_VScrollBar_theme_icon_increment_pressed:
  69. - :ref:`Texture2D<class_Texture2D>` **increment_pressed**
  70. Displayed when the increment button is being pressed.
  71. ----
  72. .. _class_VScrollBar_theme_style_grabber:
  73. - :ref:`StyleBox<class_StyleBox>` **grabber**
  74. Used as texture for the grabber, the draggable element representing current scroll.
  75. ----
  76. .. _class_VScrollBar_theme_style_grabber_highlight:
  77. - :ref:`StyleBox<class_StyleBox>` **grabber_highlight**
  78. Used when the mouse hovers over the grabber.
  79. ----
  80. .. _class_VScrollBar_theme_style_grabber_pressed:
  81. - :ref:`StyleBox<class_StyleBox>` **grabber_pressed**
  82. Used when the grabber is being dragged.
  83. ----
  84. .. _class_VScrollBar_theme_style_scroll:
  85. - :ref:`StyleBox<class_StyleBox>` **scroll**
  86. Used as background of this :ref:`ScrollBar<class_ScrollBar>`.
  87. ----
  88. .. _class_VScrollBar_theme_style_scroll_focus:
  89. - :ref:`StyleBox<class_StyleBox>` **scroll_focus**
  90. Used as background when the :ref:`ScrollBar<class_ScrollBar>` has the GUI focus.
  91. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  92. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  93. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  94. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  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.)`
  96. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`