2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-02-01 01:03:48 +00:00
|
|
|
<class name="Panel" inherits="Control" version="4.0">
|
2017-09-12 20:42:36 +00:00
|
|
|
<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>
|
2020-10-01 08:34:47 +00:00
|
|
|
<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>
|
2017-09-12 20:42:36 +00:00
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
2020-03-31 09:56:58 +00:00
|
|
|
<members>
|
|
|
|
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="Panel.Mode" default="0">
|
|
|
|
</member>
|
|
|
|
</members>
|
2017-09-12 20:42:36 +00:00
|
|
|
<constants>
|
2020-03-31 09:56:58 +00:00
|
|
|
<constant name="MODE_BACKGROUND" value="0" enum="Mode">
|
|
|
|
</constant>
|
|
|
|
<constant name="MODE_FOREGROUND" value="1" enum="Mode">
|
|
|
|
</constant>
|
2017-09-12 20:42:36 +00:00
|
|
|
</constants>
|
|
|
|
<theme_items>
|
2021-08-04 16:54:41 +00:00
|
|
|
<theme_item name="panel" data_type="style" type="StyleBox">
|
2020-03-03 18:21:21 +00:00
|
|
|
The style of this [Panel].
|
2017-09-12 20:42:36 +00:00
|
|
|
</theme_item>
|
2021-08-04 16:54:41 +00:00
|
|
|
<theme_item name="panel_fg" data_type="style" type="StyleBox">
|
2020-03-31 09:56:58 +00:00
|
|
|
</theme_item>
|
2017-09-12 20:42:36 +00:00
|
|
|
</theme_items>
|
|
|
|
</class>
|