struct TrayItem
Swift
struct TrayItem
One tray icon, ready to draw.
Sources/LavaUI/StatusNotifier.swift:13
Properties
var fallback: String
Single character when there is no icon.
Sources/LavaUI/StatusNotifier.swift:31
var hasMenu: Bool
Exports a DBusMenu the panel can draw.
Sources/LavaUI/StatusNotifier.swift:25
var id: String { get }
The item's identity, which is its key.
Sources/LavaUI/StatusNotifier.swift:15
var image: UIImage?
Drawn when non-nil; otherwise the panel shows a letter fallback.
Sources/LavaUI/StatusNotifier.swift:29
var isMenu: Bool
Whether the item says a left click should open its menu (ItemIsMenu).
Sources/LavaUI/StatusNotifier.swift:23
var key: String
uniqueName/objectPath on the session bus; what every call about the item takes.
Sources/LavaUI/StatusNotifier.swift:17
var prefersMenu: Bool
A left click should open that menu rather than call Activate.
Sources/LavaUI/StatusNotifier.swift:27
var status: String
"Passive", "Active" or "NeedsAttention".
Sources/LavaUI/StatusNotifier.swift:21
var title: String
The item's tooltip or display title.
Sources/LavaUI/StatusNotifier.swift:19