summaryrefslogtreecommitdiff
path: root/doc/classes/Panel.xml
blob: 9906abf8958b54fb9ded60d93bdba9fdf539d77c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Panel" inherits="Control" version="4.0">
	<brief_description>
		Provides an opaque background for [Control] children.
	</brief_description>
	<description>
		Panel is a [Control] that displays an opaque background. It's commonly used as a parent and container for other types of [Control] nodes.
	</description>
	<tutorials>
		<link title="2D Role Playing Game Demo">https://godotengine.org/asset-library/asset/520</link>
		<link title="2D Finite State Machine Demo">https://godotengine.org/asset-library/asset/516</link>
		<link title="3D Inverse Kinematics Demo">https://godotengine.org/asset-library/asset/523</link>
	</tutorials>
	<methods>
	</methods>
	<members>
		<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="Panel.Mode" default="0">
		</member>
	</members>
	<constants>
		<constant name="MODE_BACKGROUND" value="0" enum="Mode">
		</constant>
		<constant name="MODE_FOREGROUND" value="1" enum="Mode">
		</constant>
	</constants>
	<theme_items>
		<theme_item name="panel" data_type="style" type="StyleBox">
			The style of this [Panel].
		</theme_item>
		<theme_item name="panel_fg" data_type="style" type="StyleBox">
		</theme_item>
	</theme_items>
</class>