summaryrefslogtreecommitdiff
path: root/doc/classes/Popup.xml
blob: 06efadb071f3f6ef2cba8084c3257d20ba7b9468 (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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Popup" inherits="Window" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
	<brief_description>
		Popup is a base window container for popup-like subwindows.
	</brief_description>
	<description>
		Popup is a base window container for popup-like subwindows. It's a modal by default (see [member close_on_parent_focus]) and has helpers for custom popup behavior.
	</description>
	<tutorials>
	</tutorials>
	<members>
		<member name="borderless" type="bool" setter="set_flag" getter="get_flag" overrides="Window" default="true" />
		<member name="close_on_parent_focus" type="bool" setter="set_close_on_parent_focus" getter="get_close_on_parent_focus" default="true">
			If true, the [Popup] will close when its parent [Window] is focused.
		</member>
		<member name="transient" type="bool" setter="set_transient" getter="is_transient" overrides="Window" default="true" />
		<member name="unresizable" type="bool" setter="set_flag" getter="get_flag" overrides="Window" default="true" />
		<member name="visible" type="bool" setter="set_visible" getter="is_visible" overrides="Window" default="false" />
		<member name="wrap_controls" type="bool" setter="set_wrap_controls" getter="is_wrapping_controls" overrides="Window" default="true" />
	</members>
	<signals>
		<signal name="popup_hide">
			<description>
				Emitted when the popup is hidden.
			</description>
		</signal>
	</signals>
</class>