:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/3.5/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/3.5/doc/classes/PopupPanel.xml. .. _class_PopupPanel: PopupPanel ========== **Inherits:** :ref:`Popup` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` Class for displaying popups with a panel background. Description ----------- Class for displaying popups with a panel background. In some cases it might be simpler to use than :ref:`Popup`, since it provides a configurable background. If you are making windows, better check :ref:`WindowDialog`. If any :ref:`Control` node is added as a child of this ``PopupPanel``, it will be stretched to fit the panel's size (similar to how :ref:`PanelContainer` works). Theme Properties ---------------- +---------------------------------+--------------------------------------------------+ | :ref:`StyleBox` | :ref:`panel` | +---------------------------------+--------------------------------------------------+ Theme Property Descriptions --------------------------- .. _class_PopupPanel_theme_style_panel: - :ref:`StyleBox` **panel** The background panel style of this ``PopupPanel``. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`