class_panel.rst 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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/4.2/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.2/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. A GUI control that displays a :ref:`StyleBox<class_StyleBox>`.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. **Panel** is a GUI control that displays a :ref:`StyleBox<class_StyleBox>`. See also :ref:`PanelContainer<class_PanelContainer>`.
  15. .. rst-class:: classref-introduction-group
  16. Tutorials
  17. ---------
  18. - `2D Role Playing Game Demo <https://godotengine.org/asset-library/asset/520>`__
  19. - `2D Finite State Machine Demo <https://godotengine.org/asset-library/asset/516>`__
  20. - `3D Inverse Kinematics Demo <https://godotengine.org/asset-library/asset/523>`__
  21. .. rst-class:: classref-reftable-group
  22. Theme Properties
  23. ----------------
  24. .. table::
  25. :widths: auto
  26. +---------------------------------+---------------------------------------------+
  27. | :ref:`StyleBox<class_StyleBox>` | :ref:`panel<class_Panel_theme_style_panel>` |
  28. +---------------------------------+---------------------------------------------+
  29. .. rst-class:: classref-section-separator
  30. ----
  31. .. rst-class:: classref-descriptions-group
  32. Theme Property Descriptions
  33. ---------------------------
  34. .. _class_Panel_theme_style_panel:
  35. .. rst-class:: classref-themeproperty
  36. :ref:`StyleBox<class_StyleBox>` **panel**
  37. The :ref:`StyleBox<class_StyleBox>` of this control.
  38. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  39. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  40. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  41. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  42. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  43. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  44. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`