68 lines
2.2 KiB
Text
68 lines
2.2 KiB
Text
|
:github_url: hide
|
||
|
|
||
|
.. DO NOT EDIT THIS FILE!!!
|
||
|
.. Generated automatically from Godot engine sources.
|
||
|
.. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py.
|
||
|
.. XML source: https://github.com/godotengine/godot/tree/3.6/doc/classes/Panel.xml.
|
||
|
|
||
|
.. _class_Panel:
|
||
|
|
||
|
Panel
|
||
|
=====
|
||
|
|
||
|
**Inherits:** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
|
||
|
|
||
|
Provides an opaque background for :ref:`Control<class_Control>` children.
|
||
|
|
||
|
.. rst-class:: classref-introduction-group
|
||
|
|
||
|
Description
|
||
|
-----------
|
||
|
|
||
|
Panel is a :ref:`Control<class_Control>` that displays an opaque background. It's commonly used as a parent and container for other types of :ref:`Control<class_Control>` nodes.
|
||
|
|
||
|
.. rst-class:: classref-introduction-group
|
||
|
|
||
|
Tutorials
|
||
|
---------
|
||
|
|
||
|
- `2D Role Playing Game Demo <https://godotengine.org/asset-library/asset/520>`__
|
||
|
|
||
|
- `2D Finite State Machine Demo <https://godotengine.org/asset-library/asset/516>`__
|
||
|
|
||
|
- `3D Inverse Kinematics Demo <https://godotengine.org/asset-library/asset/523>`__
|
||
|
|
||
|
.. rst-class:: classref-reftable-group
|
||
|
|
||
|
Theme Properties
|
||
|
----------------
|
||
|
|
||
|
.. table::
|
||
|
:widths: auto
|
||
|
|
||
|
+---------------------------------+---------------------------------------------+
|
||
|
| :ref:`StyleBox<class_StyleBox>` | :ref:`panel<class_Panel_theme_style_panel>` |
|
||
|
+---------------------------------+---------------------------------------------+
|
||
|
|
||
|
.. rst-class:: classref-section-separator
|
||
|
|
||
|
----
|
||
|
|
||
|
.. rst-class:: classref-descriptions-group
|
||
|
|
||
|
Theme Property Descriptions
|
||
|
---------------------------
|
||
|
|
||
|
.. _class_Panel_theme_style_panel:
|
||
|
|
||
|
.. rst-class:: classref-themeproperty
|
||
|
|
||
|
:ref:`StyleBox<class_StyleBox>` **panel**
|
||
|
|
||
|
The style of this **Panel**.
|
||
|
|
||
|
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
||
|
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
|
||
|
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|
||
|
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
|