summaryrefslogtreecommitdiff
path: root/e-gadget.xml
blob: 837c2606b888c5cbc813190284b185dc0d22855f (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
<protocol name="e_gadget">

  <interface name="e_gadget" version="1">
    <enum name="orient">
      <entry name="none" value="0"/>
      <entry name="horizontal" value="1"/>
      <entry name="vertical" value="2"/>
    </enum>
    <enum name="gravity">
      <entry name="none" value="0"/>
      <entry name="left" value="1"/>
      <entry name="right" value="2"/>
      <entry name="top" value="3"/>
      <entry name="bottom" value="4"/>
      <entry name="center" value="5"/>
    </enum>
    <enum name="anchor" bitfield="true">
      <entry name="none" value="0"/>
      <entry name="left" value="1"/>
      <entry name="right" value="2"/>
      <entry name="top" value="4"/>
      <entry name="bottom" value="8"/>
    </enum>
    <event name="gadget_anchor">
      <arg name="anchor" type="uint" enum="anchor"/>
    </event>
    <event name="gadget_orient">
      <arg name="orient" type="uint" enum="orient"/>
    </event>
    <event name="gadget_gravity">
      <arg name="gravity" type="uint" enum="gravity"/>
    </event>
    <request name="open_uri">
      <arg name="uri" type="string"/>
    </request>
  </interface>

</protocol>