mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
426bcc9941
In many of the XML files it had been noted that when the documentation refers to a return value, both "Return" and "Returns" are used. This has now been fixed to only say "Returns". Fixes #28867
51 lines
1.6 KiB
XML
51 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="WindowDialog" inherits="Popup" category="Core" version="3.2">
|
|
<brief_description>
|
|
Base class for window dialogs.
|
|
</brief_description>
|
|
<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.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_close_button">
|
|
<return type="TextureButton">
|
|
</return>
|
|
<description>
|
|
Returns the close [TextureButton].
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="resizable" type="bool" setter="set_resizable" getter="get_resizable">
|
|
If [code]true[/code], the user can resize the window. Default value: [code]false[/code].
|
|
</member>
|
|
<member name="window_title" type="String" setter="set_title" getter="get_title">
|
|
The text displayed in the window's title bar.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
<theme_items>
|
|
<theme_item name="close" type="Texture">
|
|
</theme_item>
|
|
<theme_item name="close_h_ofs" type="int">
|
|
</theme_item>
|
|
<theme_item name="close_highlight" type="Texture">
|
|
</theme_item>
|
|
<theme_item name="close_v_ofs" type="int">
|
|
</theme_item>
|
|
<theme_item name="panel" type="StyleBox">
|
|
</theme_item>
|
|
<theme_item name="scaleborder_size" type="int">
|
|
</theme_item>
|
|
<theme_item name="title_color" type="Color">
|
|
</theme_item>
|
|
<theme_item name="title_font" type="Font">
|
|
</theme_item>
|
|
<theme_item name="title_height" type="int">
|
|
</theme_item>
|
|
</theme_items>
|
|
</class>
|