phosphor-service-sni

StatusNotifierItem system-tray host with dbusmenu menus.

A system-tray host implementing org.kde.StatusNotifierItem and StatusNotifierWatcher plus the com.canonical.dbusmenu context-menu model. It registers the watcher on the session bus, advertises hosts, watches for tray-item appearance and disappearance, and exposes each live item and its menu as a Qt model. It has no UI of its own, and the shell decides how the tray slot is rendered.

Full API →

Key types

StatusNotifierHost
Per-shell host: registers the watcher if absent, declares itself a host, owns the live items.
StatusNotifierItem
Live proxy for one tray item: icon (QImage), tooltip, status, menu path.
StatusNotifierItemModel
QAbstractListModel over the host's items (id, title, status, iconUrl, menuPath).
DBusMenuModel
QAbstractListModel exposing one level of a dbusmenu tree; cascaded popups bind per level.

Dependencies

See also

References