class_hscrollbar.rst 5.7 KB

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