| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <node name="/StatusNotifierItem"> |
| 3 | <!-- Based on: |
| 4 | https://invent.kde.org/frameworks/knotifications/-/blob/master/src/org.kde.StatusNotifierItem.xml |
| 5 | --> |
| 6 | <interface name="org.kde.StatusNotifierItem"> |
| 7 | <property name="Category" type="s" access="read"/> |
| 8 | <property name="Id" type="s" access="read"/> |
| 9 | <property name="Title" type="s" access="read"/> |
| 10 | <property name="Status" type="s" access="read"/> |
| 11 | <property name="WindowId" type="i" access="read"/> |
| 12 | <!-- An additional path to add to the theme search path to find the icons specified above. --> |
| 13 | <property name="IconThemePath" type="s" access="read"/> |
| 14 | <property name="Menu" type="o" access="read"/> |
| 15 | <property name="ItemIsMenu" type="b" access="read"/> |
| 16 | <!-- main icon --> |
| 17 | <!-- names are preferred over pixmaps --> |
| 18 | <property name="IconName" type="s" access="read"/> |
| 19 | <!-- struct containing width, height and image data --> |
| 20 | <property name="IconPixmap" type="a(iiay)" access="read"> |
| 21 | <annotation name="org.qtproject.QtDBus.QtTypeName" value="KDbusImageVector"/> |
| 22 | </property> |
| 23 | <property name="OverlayIconName" type="s" access="read"/> |
| 24 | <property name="OverlayIconPixmap" type="a(iiay)" access="read"> |
| 25 | <annotation name="org.qtproject.QtDBus.QtTypeName" value="KDbusImageVector"/> |
| 26 | </property> |
| 27 | <!-- Requesting attention icon --> |
| 28 | <property name="AttentionIconName" type="s" access="read"/> |
| 29 | <!-- same definition as image --> |
| 30 | <property name="AttentionIconPixmap" type="a(iiay)" access="read"> |
| 31 | <annotation name="org.qtproject.QtDBus.QtTypeName" value="KDbusImageVector"/> |
| 32 | </property> |
| 33 | <property name="AttentionMovieName" type="s" access="read"/> |
| 34 | <!-- tooltip data --> |
| 35 | <!-- (iiay) is an image --> |
| 36 | <property name="ToolTip" type="(sa(iiay)ss)" access="read"> |
| 37 | <annotation name="org.qtproject.QtDBus.QtTypeName" value="KDbusToolTipStruct"/> |
| 38 | </property> |
| 39 | <!-- interaction: the systemtray wants the application to do something --> |
| 40 | <method name="ContextMenu"> |
| 41 | <!-- we're passing the coordinates of the icon, so the app knows where to put the popup window --> |
| 42 | <arg name="x" type="i" direction="in"/> |
| 43 | <arg name="y" type="i" direction="in"/> |
| 44 | </method> |
| 45 | <method name="Activate"> |
| 46 | <arg name="x" type="i" direction="in"/> |
| 47 | <arg name="y" type="i" direction="in"/> |
| 48 | </method> |
| 49 | <method name="SecondaryActivate"> |
| 50 | <arg name="x" type="i" direction="in"/> |
| 51 | <arg name="y" type="i" direction="in"/> |
| 52 | </method> |
| 53 | <method name="Scroll"> |
| 54 | <arg name="delta" type="i" direction="in"/> |
| 55 | <arg name="orientation" type="s" direction="in"/> |
| 56 | </method> |
| 57 | <!-- Signals: the client wants to change something in the status --> |
| 58 | <signal name="NewTitle"> </signal> |
| 59 | <signal name="NewIcon"> </signal> |
| 60 | <signal name="NewAttentionIcon"> </signal> |
| 61 | <signal name="NewOverlayIcon"> </signal> |
| 62 | <signal name="NewToolTip"></signal> |
| 63 | <signal name="NewStatus"> |
| 64 | <arg name="status" type="s"/> |
| 65 | </signal> |
| 66 | <!-- The following items are not supported by specs, but widely used --> |
| 67 | <signal name="NewIconThemePath"> |
| 68 | <arg type="s" name="icon_theme_path" direction="out"/> |
| 69 | </signal> |
| 70 | <signal name="NewMenu"/> |
| 71 | <!-- ayatana labels --> |
| 72 | <!-- These are commented out because GDBusProxy would otherwise require them, |
| 73 | but they are not available for KDE indicators |
| 74 | --> |
| 75 | <!-- <signal name="XAyatanaNewLabel"> |
| 76 | <arg type="s" name="label" direction="out" /> |
| 77 | <arg type="s" name="guide" direction="out" /> |
| 78 | </signal> |
| 79 | <property name="XAyatanaLabel" type="s" access="read" /> |
| 80 | <property name="XAyatanaLabelGuide" type="s" access="read" /> --> |
| 81 | </interface> |
| 82 | </node> |
| 83 |