:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the WindowDialog.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_WindowDialog: WindowDialog ============ **Inherits:** :ref:`Popup` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Inherited By:** :ref:`AcceptDialog` **Category:** Core Brief Description ----------------- Base class for window dialogs. Properties ---------- +-----------------------------+---------------------------------------------------------------+ | :ref:`bool` | :ref:`resizable` | +-----------------------------+---------------------------------------------------------------+ | :ref:`String` | :ref:`window_title` | +-----------------------------+---------------------------------------------------------------+ Methods ------- +-------------------------------------------+---------------------------------------------------------------------------------+ | :ref:`TextureButton` | :ref:`get_close_button` **(** **)** | +-------------------------------------------+---------------------------------------------------------------------------------+ Theme Properties ---------------- +---------------------------------+------------------+ | :ref:`Texture` | close | +---------------------------------+------------------+ | :ref:`int` | close_h_ofs | +---------------------------------+------------------+ | :ref:`Texture` | close_highlight | +---------------------------------+------------------+ | :ref:`int` | close_v_ofs | +---------------------------------+------------------+ | :ref:`StyleBox` | panel | +---------------------------------+------------------+ | :ref:`int` | scaleborder_size | +---------------------------------+------------------+ | :ref:`Color` | title_color | +---------------------------------+------------------+ | :ref:`Font` | title_font | +---------------------------------+------------------+ | :ref:`int` | title_height | +---------------------------------+------------------+ Description ----------- Windowdialog is the base class for all window-based dialogs. It's a by-default toplevel :ref:`Control` that draws a window decoration and allows motion and resizing. Property Descriptions --------------------- .. _class_WindowDialog_property_resizable: - :ref:`bool` **resizable** +----------+----------------------+ | *Setter* | set_resizable(value) | +----------+----------------------+ | *Getter* | get_resizable() | +----------+----------------------+ If ``true``, the user can resize the window. Default value: ``false``. ---- .. _class_WindowDialog_property_window_title: - :ref:`String` **window_title** +----------+------------------+ | *Setter* | set_title(value) | +----------+------------------+ | *Getter* | get_title() | +----------+------------------+ The text displayed in the window's title bar. Method Descriptions ------------------- .. _class_WindowDialog_method_get_close_button: - :ref:`TextureButton` **get_close_button** **(** **)** Returns the close :ref:`TextureButton`.