mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
77 lines
3.0 KiB
ReStructuredText
77 lines
3.0 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. DO NOT EDIT THIS FILE!!!
|
|
.. Generated automatically from Godot engine sources.
|
|
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
|
|
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/HSplitContainer.xml.
|
|
|
|
.. _class_HSplitContainer:
|
|
|
|
HSplitContainer
|
|
===============
|
|
|
|
**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>`
|
|
|
|
Horizontal split container.
|
|
|
|
Description
|
|
-----------
|
|
|
|
Horizontal split container. See :ref:`SplitContainer<class_SplitContainer>`. This goes from left to right.
|
|
|
|
Tutorials
|
|
---------
|
|
|
|
- :doc:`GUI containers <../tutorials/ui/gui_containers>`
|
|
|
|
Theme Properties
|
|
----------------
|
|
|
|
+-----------------------------------+--------------------------------------------------------------------+--------+
|
|
| :ref:`int<class_int>` | :ref:`autohide<class_HSplitContainer_theme_constant_autohide>` | ``1`` |
|
|
+-----------------------------------+--------------------------------------------------------------------+--------+
|
|
| :ref:`int<class_int>` | :ref:`separation<class_HSplitContainer_theme_constant_separation>` | ``12`` |
|
|
+-----------------------------------+--------------------------------------------------------------------+--------+
|
|
| :ref:`Texture2D<class_Texture2D>` | :ref:`grabber<class_HSplitContainer_theme_icon_grabber>` | |
|
|
+-----------------------------------+--------------------------------------------------------------------+--------+
|
|
|
|
Theme Property Descriptions
|
|
---------------------------
|
|
|
|
.. _class_HSplitContainer_theme_constant_autohide:
|
|
|
|
- :ref:`int<class_int>` **autohide**
|
|
|
|
+-----------+-------+
|
|
| *Default* | ``1`` |
|
|
+-----------+-------+
|
|
|
|
Boolean value. If 1 (``true``), the grabber will hide automatically when it isn't under the cursor. If 0 (``false``), it's always visible.
|
|
|
|
----
|
|
|
|
.. _class_HSplitContainer_theme_constant_separation:
|
|
|
|
- :ref:`int<class_int>` **separation**
|
|
|
|
+-----------+--------+
|
|
| *Default* | ``12`` |
|
|
+-----------+--------+
|
|
|
|
The space between sides of the container.
|
|
|
|
----
|
|
|
|
.. _class_HSplitContainer_theme_icon_grabber:
|
|
|
|
- :ref:`Texture2D<class_Texture2D>` **grabber**
|
|
|
|
The icon used for the grabber drawn in the middle area.
|
|
|
|
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
|
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
|
|
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|
|
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
|
|
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
|
|
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
|