Window¶
Inherits: Viewport < Node < Object
Inherited By: AcceptDialog, Popup
Base class for all windows, dialogs, and popups.
Description¶
A node that creates a window. The window can either be a native system window or embedded inside another Window (see Viewport.gui_embed_subwindows).
At runtime, Windows will not close automatically when requested. You need to handle it manually using the close_requested signal (this applies both to pressing the close button and clicking outside of a popup).
Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods¶
_get_contents_minimum_size ( ) virtual const |
|
void |
add_theme_color_override ( StringName name, Color color ) |
void |
add_theme_constant_override ( StringName name, int constant ) |
void |
add_theme_font_override ( StringName name, Font font ) |
void |
add_theme_font_size_override ( StringName name, int font_size ) |
void |
add_theme_icon_override ( StringName name, Texture2D texture ) |
void |