Popup

Base container control for popups and dialogs.

Popup is a base Control used to show dialogs and popups. It's a subwindow and modal by default (see Control) and has helpers for custom popup behavior.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

Constants
enum Constants

Functions

isExclusive
bool isExclusive()
opAssign
Popup opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Popup other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
popup
void popup(Rect2 bounds)

Popup (show the control in modal form).

popupCentered
void popupCentered(Vector2 size)

Popup (show the control in modal form) in the center of the screen, at the current size, or at a size determined by "size".

popupCenteredMinsize
void popupCenteredMinsize(Vector2 minsize)

Popup (show the control in modal form) in the center of the screen, ensuring the size is never smaller than minsize.

popupCenteredRatio
void popupCenteredRatio(double ratio)

Popup (show the control in modal form) in the center of the screen, scaled at a ratio of size of the screen.

setExclusive
void setExclusive(bool enable)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

popupExclusive
bool popupExclusive [@property getter]
bool popupExclusive [@property setter]

If true the popup will not be hidden when a click event occurs outside of it, or when it receives the ui_cancel action event.

Static functions

_new
Popup _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta