Files
godot-docs/classes/class_panel.rst
2021-03-16 12:29:34 +01:00

31 lines
1.2 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the Panel.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _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.
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.
Theme Properties
----------------
+---------------------------------+-------+
| :ref:`StyleBox<class_StyleBox>` | 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.)`