pandemonium_engine/doc/classes/CBoxContainer.xml

33 lines
1.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="CBoxContainer" inherits="BoxContainer" version="4.2">
<brief_description>
Horizontal or vertical box container.
</brief_description>
<description>
Horizontal or vertical box container depending on it's [member mode] setting. See [BoxContainer].
</description>
<tutorials>
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.md</link>
</tutorials>
<methods>
</methods>
<members>
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="CBoxContainer.ContainerMode" default="0">
Sets whether this [CBoxContainer] will act as a [HBoxContainer] or a [VBoxContainer].
</member>
</members>
<constants>
<constant name="CONTAINER_MODE_HORIZONTAL" value="0" enum="ContainerMode">
This [CBoxContainer] will act as a [HBoxContainer].
</constant>
<constant name="CONTAINER_MODE_VERTICAL" value="1" enum="ContainerMode">
This [CBoxContainer] will act as a [VBoxContainer].
</constant>
</constants>
<theme_items>
<theme_item name="separation" data_type="constant" type="int" default="4">
The horizontal or vertical space between the [CBoxContainer]'s elements.
</theme_item>
</theme_items>
</class>