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.

Properties

boolresizablefalse
Stringwindow_title“”

Methods

TextureButtonget_close_button ( )

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.