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...
StatusIndicator
应用程序状态指示器(即通知区域图标)。
注意:状态指示器在 macOS 和 Windows 上实现。
属性
|
||
|
||
|
方法
get_rect() const |
信号
pressed(mouse_button: int, mouse_position: Vector2i) 🔗
按下状态指示器时发出。
属性说明
状态指示器图标。
状态指示器原生弹出菜单。设置后不会发出 pressed 信号。
注意:只有在 NativeMenu 支持 NativeMenu.FEATURE_POPUP_MENU 特性时才支持原生弹出菜单。
状态指示器工具提示。
如果为 true
,则状态指示器可见。
方法说明
返回状态指示器的矩形,使用屏幕坐标。如果状态指示器不可见,则返回空的 Rect2。