class_panelcontainer.rst 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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/PanelContainer.xml.
  6. .. _class_PanelContainer:
  7. PanelContainer
  8. ==============
  9. **Inherits:** :ref:`Container<class_Container>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. **Inherited By:** :ref:`ScriptEditor<class_ScriptEditor>`
  11. A container that keeps its child controls within the area of a :ref:`StyleBox<class_StyleBox>`.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. A container that keeps its child controls within the area of a :ref:`StyleBox<class_StyleBox>`. Useful for giving controls an outline.
  16. .. rst-class:: classref-introduction-group
  17. Tutorials
  18. ---------
  19. - :doc:`Using Containers <../tutorials/ui/gui_containers>`
  20. - `2D Role Playing Game Demo <https://godotengine.org/asset-library/asset/520>`__
  21. .. rst-class:: classref-reftable-group
  22. Properties
  23. ----------
  24. .. table::
  25. :widths: auto
  26. +----------------------------------------------+--------------+-----------------------------------------------------------------------+
  27. | :ref:`MouseFilter<enum_Control_MouseFilter>` | mouse_filter | ``0`` (overrides :ref:`Control<class_Control_property_mouse_filter>`) |
  28. +----------------------------------------------+--------------+-----------------------------------------------------------------------+
  29. .. rst-class:: classref-reftable-group
  30. Theme Properties
  31. ----------------
  32. .. table::
  33. :widths: auto
  34. +---------------------------------+------------------------------------------------------+
  35. | :ref:`StyleBox<class_StyleBox>` | :ref:`panel<class_PanelContainer_theme_style_panel>` |
  36. +---------------------------------+------------------------------------------------------+
  37. .. rst-class:: classref-section-separator
  38. ----
  39. .. rst-class:: classref-descriptions-group
  40. Theme Property Descriptions
  41. ---------------------------
  42. .. _class_PanelContainer_theme_style_panel:
  43. .. rst-class:: classref-themeproperty
  44. :ref:`StyleBox<class_StyleBox>` **panel**
  45. The style of **PanelContainer**'s background.
  46. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  47. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  48. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  49. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  50. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  51. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  52. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`