Base class for window dialogs.
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.
Returns the close [TextureButton]. [b]Warning:[/b] This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their [member CanvasItem.visible] property.
- If [code]true[/code], the user can resize the window.
- The text displayed in the window's title bar.
The color of the title text.
The horizontal offset of the close button.
The vertical offset of the close button.
The thickness of the border that can be dragged when scaling the window (if [member resizable] is enabled).
The vertical offset of the title text.
The font used to draw the title.
The icon for the close button.
The icon used for the close button when it's hovered with the mouse cursor.
The style for both the content background of the [WindowDialog] and the title bar. The title bar is created with a top border and an expand margin using the [code]panel[/code] stylebox.