2017-09-13 04:42:36 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2019-04-01 18:33:56 +08:00
<class name= "WindowDialog" inherits= "Popup" category= "Core" version= "3.2" >
2017-09-13 04:42:36 +08:00
<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 >
2019-05-24 10:15:43 +08:00
Returns the close [TextureButton].
2017-09-13 04:42:36 +08:00
</description>
</method>
</methods>
<members >
2019-06-29 18:38:01 +08:00
<member name= "resizable" type= "bool" setter= "set_resizable" getter= "get_resizable" default= "false" >
2019-06-29 21:24:23 +08:00
If [code]true[/code], the user can resize the window.
2017-09-13 04:42:36 +08:00
</member>
2019-06-29 18:38:01 +08:00
<member name= "window_title" type= "String" setter= "set_title" getter= "get_title" default= """" >
2018-08-27 06:31:09 +08:00
The text displayed in the window's title bar.
2017-09-13 04:42:36 +08:00
</member>
</members>
<constants >
</constants>
<theme_items >
<theme_item name= "close" type= "Texture" >
</theme_item>
2019-06-29 18:38:01 +08:00
<theme_item name= "close_h_ofs" type= "int" default= "18" >
2017-09-13 04:42:36 +08:00
</theme_item>
<theme_item name= "close_highlight" type= "Texture" >
</theme_item>
2019-06-29 18:38:01 +08:00
<theme_item name= "close_v_ofs" type= "int" default= "18" >
2017-09-13 04:42:36 +08:00
</theme_item>
<theme_item name= "panel" type= "StyleBox" >
</theme_item>
2019-06-29 18:38:01 +08:00
<theme_item name= "scaleborder_size" type= "int" default= "4" >
2017-09-13 04:42:36 +08:00
</theme_item>
2019-06-29 18:38:01 +08:00
<theme_item name= "title_color" type= "Color" default= "Color( 0, 0, 0, 1 )" >
2017-09-13 04:42:36 +08:00
</theme_item>
<theme_item name= "title_font" type= "Font" >
</theme_item>
2019-06-29 18:38:01 +08:00
<theme_item name= "title_height" type= "int" default= "20" >
2017-09-13 04:42:36 +08:00
</theme_item>
</theme_items>
</class>