On this page
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
|
||
|
Methods
Theme Properties
close |
||
close_h_ofs |
18 |
|
close_highlight |
||
close_v_ofs |
18 |
|
panel |
||
scaleborder_size |
4 |
|
title_color |
Color( 0, 0, 0, 1 ) |
|
title_font |
||
title_height |
20 |
Property Descriptions
bool resizable
Default |
|
Setter |
set_resizable(value) |
Getter |
get_resizable() |
If true
, the user can resize the window.
String window_title
Default |
|
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–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_windowdialog.html