WindowDialog

Inherits: Popup < Control < CanvasItem < Node < Object

Inherited By: AcceptDialog

Base class for window dialogs.

Description

Windowdialog is the base class for all window-based dialogs. It’s a by-default toplevel Control that draws a window decoration and allows motion and resizing.

Theme Properties

Textureclose 
intclose_h_ofs18
Textureclose_highlight 
intclose_v_ofs18
StyleBoxpanel 
intscaleborder_size4
Colortitle_colorColor( 0, 0, 0, 1 )
Fonttitle_font 
inttitle_height20

Property Descriptions

Defaultfalse
Setterset_resizable(value)
Getterget_resizable()

If true, the user can resize the window.


Default""
Setterset_title(value)
Getterget_title()

The text displayed in the window’s title bar.

Method Descriptions

Returns the close TextureButton.

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:46:53. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.