Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Popup
继承: Window < Viewport < Node < Object
派生: PopupMenu, PopupPanel
上下文窗口以及固定位置的面板的基类。
描述
Popup 是上下文窗口以及固定位置面板的基类。默认情况下它是模态的(见 Window.popup_window),且提供用于自定义弹出行为的方法。
注意:Popup 默认情况下是隐藏的。若要显示,调用节点上来自 Window 的 popup_* 方法中的其中一个,比如 Window.popup_centered_clamped()。
属性
borderless |
|
|
maximize_disabled |
|
|
minimize_disabled |
|
|
popup_window |
|
|
popup_wm_hint |
|
|
transient |
|
|
unresizable |
|
|
visible |
|
|
wrap_controls |
|
信号
popup_hide() 🔗
当该弹出窗口被隐藏时发出。