Popup

继承: Window < Viewport < Node < Object

派生: PopupMenu, PopupPanel

上下文窗口以及固定位置的面板的基类。

描述

Popup 是上下文窗口以及固定位置的面板的基类。默认情况下是模态的(见 Window.popup_window),还提供了用于自定义弹出行为的方法。

属性

bool

borderless

true (overrides Window)

bool

popup_window

true (overrides Window)

bool

transient

true (overrides Window)

bool

unresizable

true (overrides Window)

bool

visible

false (overrides Window)

bool

wrap_controls

true (overrides Window)

主题属性

StyleBox

panel


信号

popup_hide ( )

当该弹出窗口被隐藏时发出。


主题属性说明

StyleBox panel

Popup 的默认 StyleBox

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.