mirror of
https://github.com/godotengine/godot.git
synced 2024-12-04 18:14:14 +00:00
b68dd2e189
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
22 lines
1014 B
XML
22 lines
1014 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="Panel" inherits="Control" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<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>
|
|
<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>
|