2009-06-11 Mark Doffman <mark.doffman@codethink.co.uk>
[platform/core/uifw/at-spi2-atk.git] / xml / org.freedesktop.atspi.DeviceEventListener.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" name="/node">
3
4 <interface name="org.freedesktop.atspi.DeviceEventListener">
5   <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
6     <p>This interface should be implemented by AT-SPI clients who wish to 
7       make use of the DeviceEventController to receive device event notifications.
8       DeviceEvents include keyboard events and mouse button/motion events.</p>
9   </tp:docstring>
10   <method name="notifyEvent">
11     <tp:docstring>
12       Notify an interested DeviceEventListener that a DeviceEvent has occurred.
13     </tp:docstring>
14     <arg direction="in" name="event" type="(uinnisb)" tp:type="DeviceEvent"/>
15     <arg direction="out" type="b" tp:type="boolean">
16     <tp:docstring>
17             <code>True</code> if the recipient/consumer wishes to consume the event, i.e.prevent it from being delivered to the desktop, <code>False</code> if the event should continue to be delivered as normal.
18     </tp:docstring>
19     </arg>
20   </method>
21 </interface>
22 </node>