Class StatusIndicator
Application status indicator (aka notification area icon).
Note: Status indicator is implemented on macOS and Windows.
- Inheritance
-
StatusIndicator
Properties
icon
Status indicator icon.
var icon : Texture2D
Property Value
Remarks
menu
Status indicator native popup menu. If this is set, the StatusIndicator.pressed signal is not emitted.
Note: Native popup is only supported if NativeMenu supports NativeMenu.FEATURE_POPUP_MENU feature.
var menu : NodePath = NodePath("")
Property Value
Remarks
tooltip
Status indicator tooltip.
var tooltip : String = ""
Property Value
Remarks
visible
If true
, the status indicator is visible.
var visible : bool = true
Property Value
Remarks
Methods
get_rect
Qualifiers: const
Returns the status indicator rectangle in screen coordinates. If this status indicator is not visible, returns an empty Rect2.
Rect2 get_rect
Events
pressed(int, Vector2i)
Emitted when the status indicator is pressed.
signal pressed(int mouse_button, Vector2i mouse_position)