The tray item's category (e.g. "ApplicationStatus", "Communications").
The icon as a name string, GdkPixbuf, or fallback "image-missing". Uses attention icon when "NeedsAttention".
The unique application identifier for this tray item.
Whether the item only supports menu activation (no primary activate).
Check if service has been disposed
The current status: "Passive", "Active", or "NeedsAttention".
The display title of the tray item.
Markup string from the item's tooltip, combining title and description.
The X11 window ID associated with this tray item, or 0.
ReadonlyactivateSends an Activate request to the tray item at the event's coordinates.
The GDK event providing root coordinates
Creates a Binding for a property on this service.
The property to bind
A Binding that can be used in widget constructors
Notifies listeners that a property changed and emits the 'changed' signal.
The property name that changed
Connects a callback to a signal on this service.
The signal name (defaults to 'changed')
The callback to invoke when the signal is emitted
The signal connection ID
Creates an incremental list binding that reuses existing widgets.
Instead of recreating all widgets on every update, this method caches widgets by a key function and only creates new widgets for new items, destroying widgets for removed items.
A Binding that produces an array of widgets
ProtecteddisconnectClean up all tracked signal connections Call this in service-specific dispose implementations
Dispose of service resources Override in subclasses to add specific cleanup
Emits a signal, warning if the signal was not registered via Service.register.
The warning is cheap (a Set lookup per emit) and helps catch typos
and missing signal declarations that silently break .bind().
ReadonlyopenOpens the context menu for this tray item, using DbusmenuGtk3 if available.
The GDK event for popup positioning
ProtectedretryReadonlyscrollSends a Scroll event to the tray item.
The GDK scroll event with direction and delta
ReadonlysecondarySends a SecondaryActivate (middle-click) request to the tray item.
The GDK event providing root coordinates
ProtectedtrackTrack a signal connection for automatic cleanup
The object the signal is connected to (defaults to this)
The signal connection ID
Track a signal connection for automatic cleanup
The signal connection ID
Updates a property value and emits a notify signal if the value changed.
Performs a deep equality check via JSON serialization to avoid unnecessary notifications.
The property name in kebab-case
The new value
StaticimportStaticpspecStaticregister
Tray Item
Represents a single StatusNotifierItem (system tray icon) with its properties and actions.
Lifecycle:
Fires
removed - Emitted when item disappears from bus (busName: string)
Fires
ready - Emitted when item proxy is ready
Fires
changed - Emitted when item properties change