12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- .. 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/<name>/doc_classes.
- .. _class_WindowDialog:
- WindowDialog
- ============
- **Inherits:** :ref:`Popup<class_popup>` **<** :ref:`Control<class_control>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
- **Inherited By:** :ref:`AcceptDialog<class_acceptdialog>`
- **Category:** Core
- Brief Description
- -----------------
- Base class for window dialogs.
- Member Functions
- ----------------
- +--------------------------------------------+--------------------------------------------------------------------------------------------------------+
- | :ref:`TextureButton<class_texturebutton>` | :ref:`get_close_button<class_WindowDialog_get_close_button>` **(** **)** |
- +--------------------------------------------+--------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`get_resizable<class_WindowDialog_get_resizable>` **(** **)** const |
- +--------------------------------------------+--------------------------------------------------------------------------------------------------------+
- | :ref:`String<class_string>` | :ref:`get_title<class_WindowDialog_get_title>` **(** **)** const |
- +--------------------------------------------+--------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_resizable<class_WindowDialog_set_resizable>` **(** :ref:`bool<class_bool>` resizable **)** |
- +--------------------------------------------+--------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_title<class_WindowDialog_set_title>` **(** :ref:`String<class_string>` title **)** |
- +--------------------------------------------+--------------------------------------------------------------------------------------------------------+
- Member Variables
- ----------------
- - :ref:`bool<class_bool>` **resizable**
- - :ref:`String<class_string>` **window_title**
- Description
- -----------
- Windowdialog is the base class for all window-based dialogs. It's a by-default toplevel :ref:`Control<class_control>` that draws a window decoration and allows motion and resizing.
- Member Function Description
- ---------------------------
- .. _class_WindowDialog_get_close_button:
- - :ref:`TextureButton<class_texturebutton>` **get_close_button** **(** **)**
- Return the close :ref:`TextureButton<class_texturebutton>`.
- .. _class_WindowDialog_get_resizable:
- - :ref:`bool<class_bool>` **get_resizable** **(** **)** const
- .. _class_WindowDialog_get_title:
- - :ref:`String<class_string>` **get_title** **(** **)** const
- Return the title of the window.
- .. _class_WindowDialog_set_resizable:
- - void **set_resizable** **(** :ref:`bool<class_bool>` resizable **)**
- .. _class_WindowDialog_set_title:
- - void **set_title** **(** :ref:`String<class_string>` title **)**
- Set the title of the window.
|