Attention: Here be dragons

This is thelatest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

Checking the stable version of the documentation...

Popup

Inherits:Window<Viewport<Node<Object

Inherited By:PopupMenu,PopupPanel

Base class for contextual windows and panels with fixed position.

Description

Popup is a base class for contextual windows and panels with fixed position. It's a modal by default (seeWindow.popup_window) and provides methods for implementing custom popup behavior.

Note:Popup is invisible by default. To make it visible, call one of thepopup_* methods fromWindow on the node, such asWindow.popup_centered_clamped().

Properties

bool

borderless

true (overridesWindow)

bool

maximize_disabled

true (overridesWindow)

bool

minimize_disabled

true (overridesWindow)

bool

popup_window

true (overridesWindow)

bool

popup_wm_hint

true (overridesWindow)

bool

transient

true (overridesWindow)

bool

unresizable

true (overridesWindow)

bool

visible

false (overridesWindow)

bool

wrap_controls

true (overridesWindow)


Signals

popup_hide()🔗

Emitted when the popup is hidden.


User-contributed notes

Please read theUser-contributed notes policy before submitting a comment.