LavaUI docs GitHub

struct StatusNotifierItemInfo

Swift

struct StatusNotifierItemInfo

One StatusNotifierItem as the panel sees it after a poll.

Sources/LavaUI/Editor.swift:1004

Properties

var hasMenu: Bool

The item exports a DBusMenu.

Sources/LavaUI/Editor.swift:1020

var iconHeight: Int

Height of iconRgba, in pixels.

Sources/LavaUI/Editor.swift:1027

var iconName: String

Theme icon name. Empty when the item provides only pixels.

Sources/LavaUI/Editor.swift:1014

var iconPath: String

Resolved filesystem path for iconName, when found.

Sources/LavaUI/Editor.swift:1016

var iconRgba: [UInt8]

RGBA8 pixels when the item published IconPixmap.

Sources/LavaUI/Editor.swift:1029

var iconWidth: Int

Width of iconRgba, in pixels.

Sources/LavaUI/Editor.swift:1025

var id: String

The application's own id for the item (Id), often its desktop id.

Sources/LavaUI/Editor.swift:1008

var isMenu: Bool

Whether a left click should open the menu rather than activate (ItemIsMenu).

Sources/LavaUI/Editor.swift:1018

var key: String

uniqueName/objectPath — stable activate key.

Sources/LavaUI/Editor.swift:1006

var prefersMenu: Bool

A left click has nowhere to go but that menu — the item said ItemIsMenu, or never implemented Activate.

Sources/LavaUI/Editor.swift:1023

var status: String

"Passive", "Active" or "NeedsAttention".

Sources/LavaUI/Editor.swift:1012

var title: String

The item's tooltip or display title.

Sources/LavaUI/Editor.swift:1010