WindowDialog

Inherits: Popup < Control < CanvasItem < Node < Object

Inherited By: AcceptDialog

Category: Core

Brief Description

Base class for window dialogs.

Properties

boolresizable
Stringwindow_title

Methods

TextureButtonget_close_button ( )

Theme Properties

Textureclose
intclose_h_ofs
Textureclose_highlight
intclose_v_ofs
StyleBoxpanel
intscaleborder_size
Colortitle_color
Fonttitle_font
inttitle_height

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.

Property Descriptions

Setterset_resizable(value)
Getterget_resizable()

If true, the user can resize the window. Default value: false.


Setterset_title(value)
Getterget_title()

The text displayed in the window’s title bar.

Method Descriptions

Returns the close TextureButton.