SystemTrayItem: QtObject [uncreatable]

import Quickshell.Services.SystemTray

An item in the system tray. More

Properties

Functions

Detailed Description

A system tray item, roughly conforming to the kde/freedesktop spec (there is no real spec, we just implemented whatever seemed to actually be used).

The associated context menu can be retrieved using a SystemTrayMenuWatcher.

Property Details

[readonly]

category: SystemTrayCategory

No details provided.

[readonly]

icon: string

Icon source string, usable as an Image source.

[readonly]

id: string

A name unique to the application, such as its name.

[readonly]

onlyMenu: bool

If this tray item only offers a menu and activation will do nothing.

[readonly]

status: SystemTrayStatus

No details provided.

[readonly]

title: string

Text that describes the application.

[readonly]

tooltipDescription: string

No details provided.

[readonly]

tooltipTitle: string

No details provided.

Function Details

void activate()

Primary activation action, generally triggered via a left click.

void scroll(delta: int, horizontal: bool)

Scroll action, such as changing volume on a mixer.

void secondaryActivate()

Secondary activation action, generally triggered via a middle click.