class_vscrollbar.rst 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VScrollBar.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VScrollBar:
  6. VScrollBar
  7. ==========
  8. **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>`
  9. Vertical scroll bar.
  10. Description
  11. -----------
  12. Vertical version of :ref:`ScrollBar<class_ScrollBar>`, which goes from top (min) to bottom (max).
  13. Properties
  14. ----------
  15. +-----------------------+-----------------------+---------------------------+
  16. | :ref:`int<class_int>` | size_flags_horizontal | ``0`` *(parent override)* |
  17. +-----------------------+-----------------------+---------------------------+
  18. | :ref:`int<class_int>` | size_flags_vertical | ``1`` *(parent override)* |
  19. +-----------------------+-----------------------+---------------------------+
  20. Theme Properties
  21. ----------------
  22. +---------------------------------+-----------------------------------------------------------------------------+
  23. | :ref:`Texture<class_Texture>` | :ref:`decrement<class_VScrollBar_theme_icon_decrement>` |
  24. +---------------------------------+-----------------------------------------------------------------------------+
  25. | :ref:`Texture<class_Texture>` | :ref:`decrement_highlight<class_VScrollBar_theme_icon_decrement_highlight>` |
  26. +---------------------------------+-----------------------------------------------------------------------------+
  27. | :ref:`Texture<class_Texture>` | :ref:`decrement_pressed<class_VScrollBar_theme_icon_decrement_pressed>` |
  28. +---------------------------------+-----------------------------------------------------------------------------+
  29. | :ref:`Texture<class_Texture>` | :ref:`increment<class_VScrollBar_theme_icon_increment>` |
  30. +---------------------------------+-----------------------------------------------------------------------------+
  31. | :ref:`Texture<class_Texture>` | :ref:`increment_highlight<class_VScrollBar_theme_icon_increment_highlight>` |
  32. +---------------------------------+-----------------------------------------------------------------------------+
  33. | :ref:`Texture<class_Texture>` | :ref:`increment_pressed<class_VScrollBar_theme_icon_increment_pressed>` |
  34. +---------------------------------+-----------------------------------------------------------------------------+
  35. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber<class_VScrollBar_theme_style_grabber>` |
  36. +---------------------------------+-----------------------------------------------------------------------------+
  37. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_highlight<class_VScrollBar_theme_style_grabber_highlight>` |
  38. +---------------------------------+-----------------------------------------------------------------------------+
  39. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_pressed<class_VScrollBar_theme_style_grabber_pressed>` |
  40. +---------------------------------+-----------------------------------------------------------------------------+
  41. | :ref:`StyleBox<class_StyleBox>` | :ref:`scroll<class_VScrollBar_theme_style_scroll>` |
  42. +---------------------------------+-----------------------------------------------------------------------------+
  43. | :ref:`StyleBox<class_StyleBox>` | :ref:`scroll_focus<class_VScrollBar_theme_style_scroll_focus>` |
  44. +---------------------------------+-----------------------------------------------------------------------------+
  45. Theme Property Descriptions
  46. ---------------------------
  47. .. _class_VScrollBar_theme_icon_decrement:
  48. - :ref:`Texture<class_Texture>` **decrement**
  49. 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.
  50. ----
  51. .. _class_VScrollBar_theme_icon_decrement_highlight:
  52. - :ref:`Texture<class_Texture>` **decrement_highlight**
  53. Displayed when the mouse cursor hovers over the decrement button.
  54. ----
  55. .. _class_VScrollBar_theme_icon_decrement_pressed:
  56. - :ref:`Texture<class_Texture>` **decrement_pressed**
  57. Displayed when the decrement button is being pressed.
  58. ----
  59. .. _class_VScrollBar_theme_icon_increment:
  60. - :ref:`Texture<class_Texture>` **increment**
  61. 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.
  62. ----
  63. .. _class_VScrollBar_theme_icon_increment_highlight:
  64. - :ref:`Texture<class_Texture>` **increment_highlight**
  65. Displayed when the mouse cursor hovers over the increment button.
  66. ----
  67. .. _class_VScrollBar_theme_icon_increment_pressed:
  68. - :ref:`Texture<class_Texture>` **increment_pressed**
  69. Displayed when the increment button is being pressed.
  70. ----
  71. .. _class_VScrollBar_theme_style_grabber:
  72. - :ref:`StyleBox<class_StyleBox>` **grabber**
  73. Used as texture for the grabber, the draggable element representing current scroll.
  74. ----
  75. .. _class_VScrollBar_theme_style_grabber_highlight:
  76. - :ref:`StyleBox<class_StyleBox>` **grabber_highlight**
  77. Used when the mouse hovers over the grabber.
  78. ----
  79. .. _class_VScrollBar_theme_style_grabber_pressed:
  80. - :ref:`StyleBox<class_StyleBox>` **grabber_pressed**
  81. Used when the grabber is being dragged.
  82. ----
  83. .. _class_VScrollBar_theme_style_scroll:
  84. - :ref:`StyleBox<class_StyleBox>` **scroll**
  85. Used as background of this :ref:`ScrollBar<class_ScrollBar>`.
  86. ----
  87. .. _class_VScrollBar_theme_style_scroll_focus:
  88. - :ref:`StyleBox<class_StyleBox>` **scroll_focus**
  89. Used as background when the :ref:`ScrollBar<class_ScrollBar>` has the GUI focus.
  90. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  91. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  92. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`