summaryrefslogtreecommitdiff
path: root/doc/classes/WindowDialog.xml
blob: 16b8085df3a1cd4db6487902d8ac77ab73e8ca91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8" ?>
<class name="WindowDialog" inherits="Popup" version="4.0">
	<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" default="false">
			If [code]true[/code], the user can resize the window.
		</member>
		<member name="window_title" type="String" setter="set_title" getter="get_title" default="&quot;&quot;">
			The text displayed in the window's title bar.
		</member>
	</members>
	<constants>
	</constants>
	<theme_items>
		<theme_item name="close" type="Texture2D">
		</theme_item>
		<theme_item name="close_h_ofs" type="int" default="18">
		</theme_item>
		<theme_item name="close_highlight" type="Texture2D">
		</theme_item>
		<theme_item name="close_v_ofs" type="int" default="18">
		</theme_item>
		<theme_item name="panel" type="StyleBox">
		</theme_item>
		<theme_item name="scaleborder_size" type="int" default="4">
		</theme_item>
		<theme_item name="title_color" type="Color" default="Color( 0, 0, 0, 1 )">
		</theme_item>
		<theme_item name="title_font" type="Font">
		</theme_item>
		<theme_item name="title_height" type="int" default="20">
		</theme_item>
	</theme_items>
</class>