class_panel.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the Panel.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_Panel:
  6. Panel
  7. =====
  8. **Inherits:** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. Provides an opaque background for :ref:`Control<class_Control>` children.
  10. Description
  11. -----------
  12. 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.
  13. Tutorials
  14. ---------
  15. - `2D Role Playing Game Demo <https://godotengine.org/asset-library/asset/520>`_
  16. - `2D Finite State Machine Demo <https://godotengine.org/asset-library/asset/516>`_
  17. - `3D Inverse Kinematics Demo <https://godotengine.org/asset-library/asset/523>`_
  18. Theme Properties
  19. ----------------
  20. +---------------------------------+-------+
  21. | :ref:`StyleBox<class_StyleBox>` | panel |
  22. +---------------------------------+-------+
  23. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  24. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  25. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`