Inheritance #

StatusIndicator

Table of contents

StatusIndicator #

is_instantiable, Node, core, not_builtin_classes

Application status indicator (aka notification area icon).

Note: Status indicator is implemented on macOS and Windows.

Members #

var icon: Texture2D#

Status indicator icon.

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.

var tooltip: String = ""#

Status indicator tooltip.

var visible: bool = true#

If true, the status indicator is visible.

Methods #

const func get_rect() -> Rect2#

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

Annotations #

Constants #

Constructors #

Enums #

Operators #

Signals #

signal pressed(mouse_position: Vector2i)#

Emitted when the status indicator is pressed.

Theme Items #

Tutorials #