2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 10:08:05 +02:00
<class name= "Popup" inherits= "Window" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-12 22:42:36 +02:00
<brief_description >
2023-04-30 16:26:09 +02:00
Base class for contextual windows and panels with fixed position.
2017-09-12 22:42:36 +02:00
</brief_description>
<description >
2023-04-30 16:26:09 +02:00
[Popup] is a base class for contextual windows and panels with fixed position. It's a modal by default (see [member Window.popup_window]) and provides methods for implementing custom popup behavior.
2017-09-12 22:42:36 +02:00
</description>
<tutorials >
</tutorials>
<members >
2021-12-02 20:38:49 +01:00
<member name= "borderless" type= "bool" setter= "set_flag" getter= "get_flag" overrides= "Window" default= "true" />
2022-02-24 10:21:23 +01:00
<member name= "popup_window" type= "bool" setter= "set_flag" getter= "get_flag" overrides= "Window" default= "true" />
2021-12-02 20:38:49 +01: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 22:42:36 +02:00
</members>
<signals >
<signal name= "popup_hide" >
<description >
2022-02-09 03:34:30 +01:00
Emitted when the popup is hidden.
2017-09-12 22:42:36 +02:00
</description>
</signal>
</signals>
2023-09-26 16:41:24 +02:00
<theme_items >
<theme_item name= "panel" data_type= "style" type= "StyleBox" >
Default [StyleBox] for the [Popup].
</theme_item>
</theme_items>
2017-09-12 22:42:36 +02:00
</class>