class_panelcontainer.rst 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the PanelContainer.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_PanelContainer:
  6. PanelContainer
  7. ==============
  8. **Inherits:** :ref:`Container<class_Container>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. **Inherited By:** :ref:`ScriptEditor<class_ScriptEditor>`
  10. Panel container type.
  11. Description
  12. -----------
  13. Panel container type. This container fits controls inside of the delimited area of a stylebox. It's useful for giving controls an outline.
  14. Tutorials
  15. ---------
  16. - `2D Role Playing Game Demo <https://godotengine.org/asset-library/asset/520>`__
  17. Properties
  18. ----------
  19. +----------------------------------------------+--------------+-----------------------------------------------------------------------+
  20. | :ref:`MouseFilter<enum_Control_MouseFilter>` | mouse_filter | ``0`` (overrides :ref:`Control<class_Control_property_mouse_filter>`) |
  21. +----------------------------------------------+--------------+-----------------------------------------------------------------------+
  22. Theme Properties
  23. ----------------
  24. +---------------------------------+------------------------------------------------------+
  25. | :ref:`StyleBox<class_StyleBox>` | :ref:`panel<class_PanelContainer_theme_style_panel>` |
  26. +---------------------------------+------------------------------------------------------+
  27. Theme Property Descriptions
  28. ---------------------------
  29. .. _class_PanelContainer_theme_style_panel:
  30. - :ref:`StyleBox<class_StyleBox>` **panel**
  31. The style of ``PanelContainer``'s background.
  32. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  33. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  34. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  35. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  36. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  37. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`