class_panel.rst 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Panel.xml.
  6. .. _class_Panel:
  7. Panel
  8. =====
  9. **Inherits:** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. Provides an opaque background for :ref:`Control<class_Control>` children.
  11. Description
  12. -----------
  13. 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.
  14. Tutorials
  15. ---------
  16. - `2D Role Playing Game Demo <https://godotengine.org/asset-library/asset/520>`__
  17. - `2D Finite State Machine Demo <https://godotengine.org/asset-library/asset/516>`__
  18. - `3D Inverse Kinematics Demo <https://godotengine.org/asset-library/asset/523>`__
  19. Theme Properties
  20. ----------------
  21. +---------------------------------+---------------------------------------------------+
  22. | :ref:`StyleBox<class_StyleBox>` | :ref:`panel<class_Panel_theme_style_panel>` |
  23. +---------------------------------+---------------------------------------------------+
  24. | :ref:`StyleBox<class_StyleBox>` | :ref:`panel_fg<class_Panel_theme_style_panel_fg>` |
  25. +---------------------------------+---------------------------------------------------+
  26. Theme Property Descriptions
  27. ---------------------------
  28. .. _class_Panel_theme_style_panel:
  29. - :ref:`StyleBox<class_StyleBox>` **panel**
  30. The style of this ``Panel``.
  31. ----
  32. .. _class_Panel_theme_style_panel_fg:
  33. - :ref:`StyleBox<class_StyleBox>` **panel_fg**
  34. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  35. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  36. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  37. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  38. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  39. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`