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