Up to date

This page is up to date for Godot 4.3. If you still find outdated information, please open an issue.

StatusIndicatorยถ

Inherits: Node < Object

Application status indicator (aka notification area icon).

Note: Status indicator is implemented on macOS and Windows.

Propertiesยถ

Texture2D

icon

NodePath

menu

NodePath("")

String

tooltip

""

bool

visible

true

Methodsยถ

Rect2

get_rect() const


Signalsยถ

pressed(mouse_button: int, mouse_position: Vector2i) ๐Ÿ”—

Emitted when the status indicator is pressed.


Property Descriptionsยถ

Texture2D icon ๐Ÿ”—

Status indicator icon.


NodePath menu = NodePath("") ๐Ÿ”—

Status indicator native popup menu. If this is set, the pressed signal is not emitted.

Note: Native popup is only supported if NativeMenu supports NativeMenu.FEATURE_POPUP_MENU feature.


String tooltip = "" ๐Ÿ”—

Status indicator tooltip.


bool visible = true ๐Ÿ”—

  • void set_visible(value: bool)

  • bool is_visible()

If true, the status indicator is visible.


Method Descriptionsยถ

Rect2 get_rect() const ๐Ÿ”—

Returns the status indicator rectangle in screen coordinates. If this status indicator is not visible, returns an empty Rect2.