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
Application status indicator (also known as notification area icon, or tray icon).
Опис
Displays an icon in the system tray when visible. The icon and tooltip can be customized, and the indicator also supports custom menu.
Note: Status indicator is implemented on macOS and Windows.
Властивості
|
||
|
||
|
Методи
get_rect() const |
Сигнали
pressed(mouse_button: int, mouse_position: Vector2i) 🔗
Увімкнено при натисканні статусу.
Описи властивостей
Ікона індикатора стану.
Власне спливаюче меню індикатора стану. Якщо це встановлено,** сигнал pressed не випромінюється.
Примітка: Власне спливаюче меню підтримується лише тоді, коли NativeMenu підтримує функцію NativeMenu.FEATURE_POPUP_MENU.
Інструмент для визначення стану.
Якщо true, то індикатор стану видно.
Описи методів
Повертаємо показник стану прямокутника в координатах екрана. Якщо цей показник стану не видно, повертає порожній Rect2.