class_hscrollbar.rst 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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/HScrollBar.xml.
  6. .. _class_HScrollBar:
  7. HScrollBar
  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. Horizontal scroll bar.
  11. Description
  12. -----------
  13. Horizontal version of :ref:`ScrollBar<class_ScrollBar>`, which goes from left (min) to right (max).
  14. Theme Properties
  15. ----------------
  16. +-----------------------------------+-----------------------------------------------------------------------------+
  17. | :ref:`Texture2D<class_Texture2D>` | :ref:`decrement<class_HScrollBar_theme_icon_decrement>` |
  18. +-----------------------------------+-----------------------------------------------------------------------------+
  19. | :ref:`Texture2D<class_Texture2D>` | :ref:`decrement_highlight<class_HScrollBar_theme_icon_decrement_highlight>` |
  20. +-----------------------------------+-----------------------------------------------------------------------------+
  21. | :ref:`Texture2D<class_Texture2D>` | :ref:`decrement_pressed<class_HScrollBar_theme_icon_decrement_pressed>` |
  22. +-----------------------------------+-----------------------------------------------------------------------------+
  23. | :ref:`Texture2D<class_Texture2D>` | :ref:`increment<class_HScrollBar_theme_icon_increment>` |
  24. +-----------------------------------+-----------------------------------------------------------------------------+
  25. | :ref:`Texture2D<class_Texture2D>` | :ref:`increment_highlight<class_HScrollBar_theme_icon_increment_highlight>` |
  26. +-----------------------------------+-----------------------------------------------------------------------------+
  27. | :ref:`Texture2D<class_Texture2D>` | :ref:`increment_pressed<class_HScrollBar_theme_icon_increment_pressed>` |
  28. +-----------------------------------+-----------------------------------------------------------------------------+
  29. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber<class_HScrollBar_theme_style_grabber>` |
  30. +-----------------------------------+-----------------------------------------------------------------------------+
  31. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_highlight<class_HScrollBar_theme_style_grabber_highlight>` |
  32. +-----------------------------------+-----------------------------------------------------------------------------+
  33. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_pressed<class_HScrollBar_theme_style_grabber_pressed>` |
  34. +-----------------------------------+-----------------------------------------------------------------------------+
  35. | :ref:`StyleBox<class_StyleBox>` | :ref:`scroll<class_HScrollBar_theme_style_scroll>` |
  36. +-----------------------------------+-----------------------------------------------------------------------------+
  37. | :ref:`StyleBox<class_StyleBox>` | :ref:`scroll_focus<class_HScrollBar_theme_style_scroll_focus>` |
  38. +-----------------------------------+-----------------------------------------------------------------------------+
  39. Theme Property Descriptions
  40. ---------------------------
  41. .. _class_HScrollBar_theme_icon_decrement:
  42. - :ref:`Texture2D<class_Texture2D>` **decrement**
  43. Icon used as a button to scroll the :ref:`ScrollBar<class_ScrollBar>` left. Supports custom step using the :ref:`ScrollBar.custom_step<class_ScrollBar_property_custom_step>` property.
  44. ----
  45. .. _class_HScrollBar_theme_icon_decrement_highlight:
  46. - :ref:`Texture2D<class_Texture2D>` **decrement_highlight**
  47. Displayed when the mouse cursor hovers over the decrement button.
  48. ----
  49. .. _class_HScrollBar_theme_icon_decrement_pressed:
  50. - :ref:`Texture2D<class_Texture2D>` **decrement_pressed**
  51. Displayed when the decrement button is being pressed.
  52. ----
  53. .. _class_HScrollBar_theme_icon_increment:
  54. - :ref:`Texture2D<class_Texture2D>` **increment**
  55. Icon used as a button to scroll the :ref:`ScrollBar<class_ScrollBar>` right. Supports custom step using the :ref:`ScrollBar.custom_step<class_ScrollBar_property_custom_step>` property.
  56. ----
  57. .. _class_HScrollBar_theme_icon_increment_highlight:
  58. - :ref:`Texture2D<class_Texture2D>` **increment_highlight**
  59. Displayed when the mouse cursor hovers over the increment button.
  60. ----
  61. .. _class_HScrollBar_theme_icon_increment_pressed:
  62. - :ref:`Texture2D<class_Texture2D>` **increment_pressed**
  63. Displayed when the increment button is being pressed.
  64. ----
  65. .. _class_HScrollBar_theme_style_grabber:
  66. - :ref:`StyleBox<class_StyleBox>` **grabber**
  67. Used as texture for the grabber, the draggable element representing current scroll.
  68. ----
  69. .. _class_HScrollBar_theme_style_grabber_highlight:
  70. - :ref:`StyleBox<class_StyleBox>` **grabber_highlight**
  71. Used when the mouse hovers over the grabber.
  72. ----
  73. .. _class_HScrollBar_theme_style_grabber_pressed:
  74. - :ref:`StyleBox<class_StyleBox>` **grabber_pressed**
  75. Used when the grabber is being dragged.
  76. ----
  77. .. _class_HScrollBar_theme_style_scroll:
  78. - :ref:`StyleBox<class_StyleBox>` **scroll**
  79. Used as background of this :ref:`ScrollBar<class_ScrollBar>`.
  80. ----
  81. .. _class_HScrollBar_theme_style_scroll_focus:
  82. - :ref:`StyleBox<class_StyleBox>` **scroll_focus**
  83. Used as background when the :ref:`ScrollBar<class_ScrollBar>` has the GUI focus.
  84. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  85. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  86. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  87. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  88. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  89. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`