summaryrefslogtreecommitdiff
path: root/api/org.freedesktop.StatusNotifierItem.xml
blob: c425af6d5d61056193cca7663e4df58f6046411a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>

  <interface name="org.kde.StatusNotifierItem">
    <!-- Based on https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/ -->

    <property name="Category" type="s" access="read"/>
    <property name="Id" type="s" access="read"/>
    <property name="Title" type="s" access="read"/>
    <property name="Status" type="s" access="read"/>
    <property name="WindowId" type="i" access="read"/>
    <property name="IconName" type="s" access="read" />

    <!-- TODO: API not supported yet
    <property name="IconPixmap" type="(iiay)" access="read">
        <annotation name="org.qtproject.QtDBus.QtTypeName" value="XdgDbusImageVector"/>
    </property>
    -->

    <property name="OverlayIconName" type="s" access="read"/>

    <!-- TODO: API not supported yet
    <property name="OverlayIconPixmap" type="(iiay)" access="read">
        <annotation name="org.qtproject.QtDBus.QtTypeName" value="XdgDbusImageVector"/>
    </property>
    -->

    <property name="AttentionIconName" type="s" access="read"/>

    <!-- TODO: API not supported yet
    <property name="AttentionIconPixmap" type="(iiay)" access="read">
        <annotation name="org.qtproject.QtDBus.QtTypeName" value="XdgDbusImageVector"/>
    </property>
    -->

    <property name="AttentionMovieName" type="s" access="read"/>


    <!-- TODO: API not supported yet
    org.freedesktop.StatusNotifierItem.ToolTip
    org.freedesktop.StatusNotifierItem.ItemIsMenu
    org.freedesktop.StatusNotifierItem.Menu
    -->

    <!-- TODO: API not supported yet
    <method name="ContextMenu">
        <arg name="x" type="i" direction="in"/>
        <arg name="y" type="i" direction="in"/>
    </method>
    -->

    <method name="Activate"> <!-- click -->
        <arg name="x" type="i" direction="in"/>
        <arg name="y" type="i" direction="in"/>
    </method>

    <method name="SecondaryActivate"> <!-- long press -->
        <arg name="x" type="i" direction="in"/>
        <arg name="y" type="i" direction="in"/>
    </method>

    <!-- TODO: API not supported yet
    <method name="Scroll">
      <arg name="delta" type="i" direction="in"/>
      <arg name="orientation" type="s" direction="in"/>
    </method>
    -->

    <signal name="NewTitle" />
    <signal name="NewIcon" />
    <signal name="NewAttentionIcon" />
    <signal name="NewOverlayIcon" />
    <signal name="NewToolTip" />
    <signal name="NewStatus">
      <arg name="status" type="s"/>
    </signal>

  </interface>
</node>