{ "type": "class", "super": { "type": "qt", "module": "qml.QtQml", "name": "QtObject" }, "description": "An item in the system tray.", "details": "A system tray item, roughly conforming to the [kde/freedesktop spec]\n(there is no real spec, we just implemented whatever seemed to actually be used).\n\nThe associated context menu can be retrieved using a [SystemTrayMenuWatcher](../systemtraymenuwatcher).\n\n[kde/freedesktop spec]: https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/\n", "flags": [ "uncreatable" ], "properties": { "onlyMenu": { "type": { "type": "qt", "module": "qml", "name": "bool" }, "details": "If this tray item only offers a menu and activation will do nothing.\n", "flags": [ "readonly" ] }, "status": { "type": { "type": "local", "module": "Quickshell.Services.SystemTray", "name": "SystemTrayStatus" }, "details": null, "flags": [ "readonly" ] }, "id": { "type": { "type": "qt", "module": "qml", "name": "string" }, "details": "A name unique to the application, such as its name.\n", "flags": [ "readonly" ] }, "tooltipTitle": { "type": { "type": "qt", "module": "qml", "name": "string" }, "details": null, "flags": [ "readonly" ] }, "icon": { "type": { "type": "qt", "module": "qml", "name": "string" }, "details": "Icon source string, usable as an Image source.\n", "flags": [ "readonly" ] }, "title": { "type": { "type": "qt", "module": "qml", "name": "string" }, "details": "Text that describes the application.\n", "flags": [ "readonly" ] }, "category": { "type": { "type": "local", "module": "Quickshell.Services.SystemTray", "name": "SystemTrayCategory" }, "details": null, "flags": [ "readonly" ] }, "tooltipDescription": { "type": { "type": "qt", "module": "qml", "name": "string" }, "details": null, "flags": [ "readonly" ] } }, "functions": [ { "ret": { "type": "qt", "module": "qml", "name": "void" }, "name": "activate", "id": "activate)", "details": "Primary activation action, generally triggered via a left click.\n", "params": [] }, { "ret": { "type": "qt", "module": "qml", "name": "void" }, "name": "scroll", "id": "scroll(int_bool)", "details": "Scroll action, such as changing volume on a mixer.\n", "params": [ { "name": "delta", "type": { "type": "qt", "module": "qml", "name": "int" } }, { "name": "horizontal", "type": { "type": "qt", "module": "qml", "name": "bool" } } ] }, { "ret": { "type": "qt", "module": "qml", "name": "void" }, "name": "secondaryActivate", "id": "secondaryActivate)", "details": "Secondary activation action, generally triggered via a middle click.\n", "params": [] } ], "signals": {} }