class_hsplitcontainer.rst 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 HSplitContainer.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_HSplitContainer:
  6. HSplitContainer
  7. ===============
  8. **Inherits:** :ref:`SplitContainer<class_SplitContainer>` **<** :ref:`Container<class_Container>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. Horizontal split container.
  10. Description
  11. -----------
  12. Horizontal split container. See :ref:`SplitContainer<class_SplitContainer>`. This goes from left to right.
  13. Theme Properties
  14. ----------------
  15. +-----------------------------------+--------------------------------------------------------------------+--------+
  16. | :ref:`int<class_int>` | :ref:`autohide<class_HSplitContainer_theme_constant_autohide>` | ``1`` |
  17. +-----------------------------------+--------------------------------------------------------------------+--------+
  18. | :ref:`StyleBox<class_StyleBox>` | :ref:`bg<class_HSplitContainer_theme_style_bg>` | |
  19. +-----------------------------------+--------------------------------------------------------------------+--------+
  20. | :ref:`Texture2D<class_Texture2D>` | :ref:`grabber<class_HSplitContainer_theme_icon_grabber>` | |
  21. +-----------------------------------+--------------------------------------------------------------------+--------+
  22. | :ref:`int<class_int>` | :ref:`separation<class_HSplitContainer_theme_constant_separation>` | ``12`` |
  23. +-----------------------------------+--------------------------------------------------------------------+--------+
  24. Theme Property Descriptions
  25. ---------------------------
  26. .. _class_HSplitContainer_theme_constant_autohide:
  27. - :ref:`int<class_int>` **autohide**
  28. +-----------+-------+
  29. | *Default* | ``1`` |
  30. +-----------+-------+
  31. Boolean value. If 1 (``true``), the grabber will hide automatically when it isn't under the cursor. If 0 (``false``), it's always visible.
  32. ----
  33. .. _class_HSplitContainer_theme_style_bg:
  34. - :ref:`StyleBox<class_StyleBox>` **bg**
  35. ----
  36. .. _class_HSplitContainer_theme_icon_grabber:
  37. - :ref:`Texture2D<class_Texture2D>` **grabber**
  38. The icon used for the grabber drawn in the middle area.
  39. ----
  40. .. _class_HSplitContainer_theme_constant_separation:
  41. - :ref:`int<class_int>` **separation**
  42. +-----------+--------+
  43. | *Default* | ``12`` |
  44. +-----------+--------+
  45. The space between sides of the container.
  46. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  47. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  48. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  49. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  50. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  51. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`