class_hslider.rst 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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/HSlider.xml.
  6. .. _class_HSlider:
  7. HSlider
  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. Horizontal slider.
  11. Description
  12. -----------
  13. Horizontal slider. See :ref:`Slider<class_Slider>`. This one goes from left (min) to right (max).
  14. \ **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.
  15. Theme Properties
  16. ----------------
  17. +-----------------------------------+---------------------------------------------------------------------------------+
  18. | :ref:`Texture2D<class_Texture2D>` | :ref:`grabber<class_HSlider_theme_icon_grabber>` |
  19. +-----------------------------------+---------------------------------------------------------------------------------+
  20. | :ref:`Texture2D<class_Texture2D>` | :ref:`grabber_disabled<class_HSlider_theme_icon_grabber_disabled>` |
  21. +-----------------------------------+---------------------------------------------------------------------------------+
  22. | :ref:`Texture2D<class_Texture2D>` | :ref:`grabber_highlight<class_HSlider_theme_icon_grabber_highlight>` |
  23. +-----------------------------------+---------------------------------------------------------------------------------+
  24. | :ref:`Texture2D<class_Texture2D>` | :ref:`tick<class_HSlider_theme_icon_tick>` |
  25. +-----------------------------------+---------------------------------------------------------------------------------+
  26. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_area<class_HSlider_theme_style_grabber_area>` |
  27. +-----------------------------------+---------------------------------------------------------------------------------+
  28. | :ref:`StyleBox<class_StyleBox>` | :ref:`grabber_area_highlight<class_HSlider_theme_style_grabber_area_highlight>` |
  29. +-----------------------------------+---------------------------------------------------------------------------------+
  30. | :ref:`StyleBox<class_StyleBox>` | :ref:`slider<class_HSlider_theme_style_slider>` |
  31. +-----------------------------------+---------------------------------------------------------------------------------+
  32. Theme Property Descriptions
  33. ---------------------------
  34. .. _class_HSlider_theme_icon_grabber:
  35. - :ref:`Texture2D<class_Texture2D>` **grabber**
  36. The texture for the grabber (the draggable element).
  37. ----
  38. .. _class_HSlider_theme_icon_grabber_disabled:
  39. - :ref:`Texture2D<class_Texture2D>` **grabber_disabled**
  40. The texture for the grabber when it's disabled.
  41. ----
  42. .. _class_HSlider_theme_icon_grabber_highlight:
  43. - :ref:`Texture2D<class_Texture2D>` **grabber_highlight**
  44. The texture for the grabber when it's focused.
  45. ----
  46. .. _class_HSlider_theme_icon_tick:
  47. - :ref:`Texture2D<class_Texture2D>` **tick**
  48. The texture for the ticks, visible when :ref:`Slider.tick_count<class_Slider_property_tick_count>` is greater than 0.
  49. ----
  50. .. _class_HSlider_theme_style_grabber_area:
  51. - :ref:`StyleBox<class_StyleBox>` **grabber_area**
  52. The background of the area to the left of the grabber.
  53. ----
  54. .. _class_HSlider_theme_style_grabber_area_highlight:
  55. - :ref:`StyleBox<class_StyleBox>` **grabber_area_highlight**
  56. ----
  57. .. _class_HSlider_theme_style_slider:
  58. - :ref:`StyleBox<class_StyleBox>` **slider**
  59. The background for the whole slider. Determines the height of the ``grabber_area``.
  60. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  61. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  62. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  63. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  64. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  65. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`