Stargate Status Notifier Item
Base class for StatusNotifierItem implementations. Handles the XDG activation token lifecycle and dispatches activate/secondary-activate callbacks. Subclasses provide application-specific identity and icon properties.
Parameters
Optional context menu exported via the com.canonical.dbusmenu protocol. When provided, getMenu returns DBUS_MENU_OBJECT_PATH and the caller is responsible for exporting the StargateMenu object at that path (see StatusNotifierManager.registerItem).
Called on the D-Bus thread when the host activates the item (e.g. double-click). Receives the XDG activation token (if any) provided by the host before the activate call. Implementations must marshal any UI work to the GTK main thread themselves.
Called on the D-Bus thread when the host secondary-activates the item (e.g. middle-click). Receives the XDG activation token (if any) provided by the host before the activate call. Implementations must marshal any UI work to the GTK main thread themselves.