2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-03-31 09:56:58 +00:00
<class name= "Popup" inherits= "Window" version= "4.0" >
2017-09-12 20:42:36 +00:00
<brief_description >
2022-02-09 02:34:30 +00:00
Popup is a base window container for popup-like subwindows.
2017-09-12 20:42:36 +00:00
</brief_description>
<description >
2022-02-09 02:34:30 +00:00
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.
2017-09-12 20:42:36 +00:00
</description>
<tutorials >
</tutorials>
<members >
2021-12-02 19:38:49 +00:00
<member name= "borderless" type= "bool" setter= "set_flag" getter= "get_flag" overrides= "Window" default= "true" />
2020-11-17 10:21:08 +00:00
<member name= "close_on_parent_focus" type= "bool" setter= "set_close_on_parent_focus" getter= "get_close_on_parent_focus" default= "true" >
2022-02-09 02:34:30 +00:00
If true, the [Popup] will close when its parent [Window] is focused.
2020-11-17 10:21:08 +00:00
</member>
2021-12-02 19:38:49 +00:00
<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" />
2017-09-12 20:42:36 +00:00
</members>
<signals >
<signal name= "popup_hide" >
<description >
2022-02-09 02:34:30 +00:00
Emitted when the popup is hidden.
2017-09-12 20:42:36 +00:00
</description>
</signal>
</signals>
</class>