2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-03-31 11:56:58 +02:00
<class name= "Popup" inherits= "Window" version= "4.0" >
2017-09-12 22:42:36 +02:00
<brief_description >
Base container control for popups and dialogs.
</brief_description>
<description >
2020-03-31 11:56:58 +02: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 22:42:36 +02:00
</description>
<tutorials >
</tutorials>
<members >
2020-03-31 11:56:58 +02:00
<member name= "borderless" type= "bool" setter= "set_flag" getter= "get_flag" override= "true" default= "true" />
2020-11-17 11:21:08 +01: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 13:22:53 +02:00
If [code]true[/code], the [Popup] will close when its parent is focused.
2020-11-17 11:21:08 +01:00
</member>
2020-03-31 11:56:58 +02: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 13:34:03 +02:00
<member name= "visible" type= "bool" setter= "set_visible" getter= "is_visible" override= "true" default= "false" />
2020-03-31 11:56:58 +02:00
<member name= "wrap_controls" type= "bool" setter= "set_wrap_controls" getter= "is_wrapping_controls" override= "true" default= "true" />
2017-09-12 22:42:36 +02:00
</members>
<signals >
<signal name= "popup_hide" >
<description >
2019-06-22 01:04:47 +02:00
Emitted when a popup is hidden.
2017-09-12 22:42:36 +02:00
</description>
</signal>
</signals>
</class>