summaryrefslogtreecommitdiff
path: root/e-gadget.xml
blob: f01463ecebc3d9c03e2541104f208693f9591350 (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
<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>
  </interface>

</protocol>