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 >
Base container control for popups and dialogs.
</brief_description>
<description >
2020-03-31 09:56:58 +00:00
Popup is a base [Control] used to show dialogs and popups. It's a subwindow and modal by default (see [Control]) and has helpers for custom popup behavior.
2017-09-12 20:42:36 +00:00
</description>
<tutorials >
</tutorials>
<members >
2020-03-31 09:56:58 +00:00
<member name= "borderless" type= "bool" setter= "set_flag" getter= "get_flag" override= "true" 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" >
2021-07-06 11:22:53 +00:00
If [code]true[/code], the [Popup] will close when its parent is focused.
2020-11-17 10:21:08 +00:00
</member>
2020-03-31 09:56:58 +00:00
<member name= "transient" type= "bool" setter= "set_transient" getter= "is_transient" override= "true" default= "true" />
<member name= "unresizable" type= "bool" setter= "set_flag" getter= "get_flag" override= "true" default= "true" />
2019-09-24 11:34:03 +00:00
<member name= "visible" type= "bool" setter= "set_visible" getter= "is_visible" override= "true" default= "false" />
2020-03-31 09:56:58 +00:00
<member name= "wrap_controls" type= "bool" setter= "set_wrap_controls" getter= "is_wrapping_controls" override= "true" default= "true" />
2017-09-12 20:42:36 +00:00
</members>
<signals >
<signal name= "popup_hide" >
<description >
2019-06-21 23:04:47 +00:00
Emitted when a popup is hidden.
2017-09-12 20:42:36 +00:00
</description>
</signal>
</signals>
</class>