W3cubDocs

/Godot 3.1

WindowDialog

Inherits: Popup < Control < CanvasItem < Node < Object

Inherited By: AcceptDialog

Category: Core

Brief Description

Base class for window dialogs.

Properties

bool resizable
String window_title

Methods

TextureButton get_close_button ( )

Theme Properties

Texture close
int close_h_ofs
Texture close_highlight
int close_v_ofs
StyleBox panel
int scaleborder_size
Color title_color
Font title_font
int title_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

bool resizable

Setter set_resizable(value)
Getter get_resizable()

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

String window_title

Setter set_title(value)
Getter get_title()

The text displayed in the window’s title bar.

Method Descriptions

TextureButton get_close_button ( )

Returns the close TextureButton.

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_windowdialog.html