<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>at-spi-idl: Accessibility::DeviceEventListener Interface Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespaceAccessibility.html">Accessibility</a> </li> <li><a class="el" href="interfaceAccessibility_1_1DeviceEventListener.html">Accessibility::DeviceEventListener</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>Accessibility::DeviceEventListener Interface Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Accessibility::DeviceEventListener" --> <p><code>import "<a class="el" href="Accessibility__Registry_8idl_source.html">Accessibility_Registry.idl</a>";</code></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceAccessibility_1_1DeviceEventListener.html#ab885116faf2c1cfbe4f0ecddcec3c10f">notifyEvent</a> (in <a class="el" href="structAccessibility_1_1DeviceEvent.html">DeviceEvent</a> event)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>This interface should be implemented by AT-SPI clients who wish to make use of the <a class="el" href="interfaceAccessibility_1_1DeviceEventController.html">DeviceEventController</a> to receive device event notifications. DeviceEvents include keyboard events and mouse button/motion events. </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ab885116faf2c1cfbe4f0ecddcec3c10f"></a><!-- doxytag: member="Accessibility::DeviceEventListener::notifyEvent" ref="ab885116faf2c1cfbe4f0ecddcec3c10f" args="(in DeviceEvent event)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">boolean Accessibility::DeviceEventListener::notifyEvent </td> <td>(</td> <td class="paramtype">in <a class="el" href="structAccessibility_1_1DeviceEvent.html">DeviceEvent</a> </td> <td class="paramname"> <em>event</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Notify an interested <a class="el" href="interfaceAccessibility_1_1DeviceEventListener.html">DeviceEventListener</a> that a <a class="el" href="structAccessibility_1_1DeviceEvent.html">DeviceEvent</a> has occurred. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><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. </dd></dl> </div> </div> <hr/>The documentation for this interface was generated from the following file:<ul> <li>/home/liyuan/src/at-spi/idl/<a class="el" href="Accessibility__Registry_8idl_source.html">Accessibility_Registry.idl</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Mon Sep 27 2010 16:50:43 for at-spi-idl by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>