File: StatusNotifierItem.xml

package info (click to toggle)
gnome-shell-extension-appindicator 61-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 596 kB
  • sloc: javascript: 4,217; xml: 159; python: 55; makefile: 10
file content (130 lines) | stat: -rw-r--r-- 4,199 bytes parent folder | download | duplicates (2)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!-- Based on:
 https://invent.kde.org/frameworks/knotifications/-/blob/master/src/org.kde.StatusNotifierItem.xml
-->

<interface name="org.kde.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"/>

    <!-- An additional path to add to the theme search path to find the icons specified above. -->
    <property name="IconThemePath" type="s" access="read"/>
    <property name="Menu" type="o" access="read"/>
    <property name="ItemIsMenu" type="b" access="read"/>


    <!-- main icon -->
    <!-- names are preferred over pixmaps -->
    <property name="IconName" type="s" access="read"/>

    <!--struct containing width, height and image data-->
    <property name="IconPixmap" type="a(iiay)" access="read">
        <annotation name="org.qtproject.QtDBus.QtTypeName" value="KDbusImageVector"/>
    </property>

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

    <property name="OverlayIconPixmap" type="a(iiay)" access="read">
        <annotation name="org.qtproject.QtDBus.QtTypeName" value="KDbusImageVector"/>
    </property>


    <!-- Requesting attention icon -->
    <property name="AttentionIconName" type="s" access="read"/>

    <!--same definition as image-->
    <property name="AttentionIconPixmap" type="a(iiay)" access="read">
        <annotation name="org.qtproject.QtDBus.QtTypeName" value="KDbusImageVector"/>
    </property>

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



    <!-- tooltip data -->

    <!--(iiay) is an image-->
    <!-- We disable this as we don't support tooltip, so no need to go through it
    <property name="ToolTip" type="(sa(iiay)ss)" access="read">
        <annotation name="org.qtproject.QtDBus.QtTypeName" value="KDbusToolTipStruct"/>
    </property>
    -->

    <!-- interaction: the systemtray wants the application to do something -->
    <method name="ContextMenu">
        <!-- we're passing the coordinates of the icon, so the app knows where to put the popup window -->
        <arg name="x" type="i" direction="in"/>
        <arg name="y" type="i" direction="in"/>
    </method>

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

    <method name="ProvideXdgActivationToken">
        <arg name="token" type="s" direction="in"/>
    </method>

    <method name="SecondaryActivate">
        <arg name="x" type="i" direction="in"/>
        <arg name="y" type="i" direction="in"/>
    </method>

    <method name="XAyatanaSecondaryActivate">
        <arg name="timestamp" type="u" direction="in"/>
    </method>

    <method name="Scroll">
        <arg name="delta" type="i" direction="in"/>
        <arg name="orientation" type="s" direction="in"/>
    </method>

    <!-- Signals: the client wants to change something in the status
    <signal name="NewTitle">
    </signal>

    <signal name="NewIcon">
    </signal>

    <signal name="NewAttentionIcon">
    </signal>

    <signal name="NewOverlayIcon">
    </signal>
    -->
    <!-- We disable this as we don't support tooltip, so no need to go through it
    <signal name="NewToolTip">
    </signal>
    -->

    <!--
    <signal name="NewStatus">
        <arg name="status" type="s"/>
    </signal>
    -->


    <!-- The following items are not supported by specs, but widely used
    <signal name="NewIconThemePath">
        <arg type="s" name="icon_theme_path" direction="out" />
    </signal>

    <signal name="NewMenu"></signal>
    -->

    <!-- ayatana labels -->
    <!-- These are commented out because GDBusProxy would otherwise require them,
         but they are not available for KDE indicators
    -->
    <!--<signal name="XAyatanaNewLabel">
        <arg type="s" name="label" direction="out" />
        <arg type="s" name="guide" direction="out" />
    </signal>
    <property name="XAyatanaLabel" type="s" access="read" />
    <property name="XAyatanaLabelGuide" type="s" access="read" />-->

</interface>