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