Quickshell


SystemTrayItem: QtObject

uncreatable
import Quickshell.Services.SystemTray

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).

  • category Category
    readonly
    No details provided
  • hasMenu bool
    readonly

    If this tray item has an associated menu accessible via display() or Go to menu.

  • icon string
    readonly

    Icon source string, usable as an Image source.

  • id string
    readonly

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

  • onlyMenu bool
    readonly

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

  • status Status
    readonly
    No details provided
  • title string
    readonly

    Text that describes the application.

  • tooltipDescription string
    readonly
    No details provided
  • tooltipTitle string
    readonly
    No details provided
  • activate() void

    Primary activation action, generally triggered via a left click.

  • display(parentWindow, relativeX, relativeY) void

    Property parentWindowQtObject Property relativeXint Property relativeYint

    Display a platform menu at the given location relative to the parent window.

  • scroll(delta, horizontal) void

    Property deltaint Property horizontalbool

    Scroll action, such as changing volume on a mixer.

  • secondaryActivate() void

    Secondary activation action, generally triggered via a middle click.