Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > d0e538fc3b36eaa21319109269df7489 > files > 203

libat-spi-devel-1.22.0-2mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>at-spi-idl: Accessibility::DeviceEvent Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="annotated.html"><span>Data&nbsp;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="tabs">
  <ul>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul>
</div>
<div class="nav">
<a class="el" href="namespaceAccessibility.html">Accessibility</a>::<a class="el" href="structAccessibility_1_1DeviceEvent.html">DeviceEvent</a></div>
<h1>Accessibility::DeviceEvent Struct Reference</h1><!-- doxytag: class="Accessibility::DeviceEvent" --><code>import &quot;<a class="el" href="Accessibility__Registry_8idl-source.html">Accessibility_Registry.idl</a>&quot;;</code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceAccessibility.html#58abde6e16c02c14a9f42c1d7618e59c">EventType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAccessibility_1_1DeviceEvent.html#85cb1f707e5a07f036a72e3dfbd2ac57">type</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAccessibility_1_1DeviceEvent.html#7e707dc6d27633e53d67f9d1fd5df26e">id</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAccessibility_1_1DeviceEvent.html#b1b67f559968760ab44869ddf9e4e0e5">hw_code</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAccessibility_1_1DeviceEvent.html#0a9b9febf53875fb2b2f7cfdaafa9d4c">modifiers</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAccessibility_1_1DeviceEvent.html#1c4e749a2fe1f60aa84e3e00f304a129">timestamp</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAccessibility_1_1DeviceEvent.html#325d0a5252ff77e13649202c6a9fd8f5">event_string</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">boolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAccessibility_1_1DeviceEvent.html#3a5f6d11d26812ddfafd9d0645d9568c">is_text</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A structure which encapsulates information about a device event. 
<p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="85cb1f707e5a07f036a72e3dfbd2ac57"></a><!-- doxytag: member="Accessibility::DeviceEvent::type" ref="85cb1f707e5a07f036a72e3dfbd2ac57" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceAccessibility.html#58abde6e16c02c14a9f42c1d7618e59c">EventType</a> <a class="el" href="structAccessibility_1_1DeviceEvent.html#85cb1f707e5a07f036a72e3dfbd2ac57">Accessibility::DeviceEvent::type</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Identifies the type of the containing <a class="el" href="structAccessibility_1_1DeviceEvent.html">DeviceEvent</a>. 
</div>
</div><p>
<a class="anchor" name="7e707dc6d27633e53d67f9d1fd5df26e"></a><!-- doxytag: member="Accessibility::DeviceEvent::id" ref="7e707dc6d27633e53d67f9d1fd5df26e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="structAccessibility_1_1DeviceEvent.html#7e707dc6d27633e53d67f9d1fd5df26e">Accessibility::DeviceEvent::id</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
an identifier which identifies this event in the event stream. On X Window systems this corresponds to the XEvent serial number. 
</div>
</div><p>
<a class="anchor" name="b1b67f559968760ab44869ddf9e4e0e5"></a><!-- doxytag: member="Accessibility::DeviceEvent::hw_code" ref="b1b67f559968760ab44869ddf9e4e0e5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">short <a class="el" href="structAccessibility_1_1DeviceEvent.html#b1b67f559968760ab44869ddf9e4e0e5">Accessibility::DeviceEvent::hw_code</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
a numeric code which is hardware and system-dependent, identifying the specific hardware button or key on the device for which the event has occurred. On X Window systems, for global key notifications and for most non-global key notifications as well, this code corresponds to the XKeycode. For switch and button events it indicates the switch or button number. <dl class="note" compact><dt><b>Note:</b></dt><dd>For technical reasons, this code may differ from the XKeycode when generated by Java applications for consumption by non-global key listeners. This is subject to change in future versions of the <a class="el" href="interfaceAccessibility_1_1DeviceEventController.html">DeviceEventController</a> implementation. </dd></dl>

</div>
</div><p>
<a class="anchor" name="0a9b9febf53875fb2b2f7cfdaafa9d4c"></a><!-- doxytag: member="Accessibility::DeviceEvent::modifiers" ref="0a9b9febf53875fb2b2f7cfdaafa9d4c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned short <a class="el" href="structAccessibility_1_1DeviceEvent.html#0a9b9febf53875fb2b2f7cfdaafa9d4c">Accessibility::DeviceEvent::modifiers</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
an unsigned short int consisting of zero or more of the following values OR'ed together: <ul>
<li><code>1&lt;&lt;<a class="el" href="namespaceAccessibility.html#f35e90902d7d991b254aba7c558d4a0c7649c518c8ae9fa018d1995bdc6f2257">MODIFIER_SHIFT</a></code> (=1, corresponds to Xlib's ShiftMask) </li>
<li><code>1&lt;&lt;<a class="el" href="namespaceAccessibility.html#f35e90902d7d991b254aba7c558d4a0c1f0da44f81adbb05254c0bbfa87284f6">MODIFIER_SHIFTLOCK</a></code> (=2, corresponds to Xlib's LockMask) </li>
<li><code>1&lt;&lt;<a class="el" href="namespaceAccessibility.html#f35e90902d7d991b254aba7c558d4a0c586fb841247f6a0047ad6931a68f65e9">MODIFIER_CONTROL</a></code> (=4, corresponds to Xlib's ControlMask) </li>
<li><code>1&lt;&lt;<a class="el" href="namespaceAccessibility.html#f35e90902d7d991b254aba7c558d4a0c8c64908d0a1af63d57bb0d2bb495e5a5">MODIFIER_ALT</a></code> (=8, corresponds to Xlib's Mod1Mask) </li>
<li><code>1&lt;&lt;<a class="el" href="namespaceAccessibility.html#f35e90902d7d991b254aba7c558d4a0c8e0e6e911189cd30a33dc32168e43a99">MODIFIER_META</a></code> (=16, corresponds to Xlib's Mod2Mask) </li>
<li><code>1&lt;&lt;<a class="el" href="namespaceAccessibility.html#f35e90902d7d991b254aba7c558d4a0c92171a00058e0a47b1a18d228848269c">MODIFIER_META2</a></code> (=32, corresponds to Xlib's Mod3Mask) </li>
<li><code>1&lt;&lt;<a class="el" href="namespaceAccessibility.html#f35e90902d7d991b254aba7c558d4a0cb14ddcef109b4d23f7a051dd0f5bc914">MODIFIER_META3</a></code> (=64, corresponds to Xlib's Mod4Mask) </li>
</ul>

</div>
</div><p>
<a class="anchor" name="1c4e749a2fe1f60aa84e3e00f304a129"></a><!-- doxytag: member="Accessibility::DeviceEvent::timestamp" ref="1c4e749a2fe1f60aa84e3e00f304a129" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long <a class="el" href="structAccessibility_1_1DeviceEvent.html#1c4e749a2fe1f60aa84e3e00f304a129">Accessibility::DeviceEvent::timestamp</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
an unsigned integer representing the time that the event occurred. On X Window systems this event is a time in milliseconds from some arbitrary starting point; it therefore has a cycle time of approximately 50 days. 
</div>
</div><p>
<a class="anchor" name="325d0a5252ff77e13649202c6a9fd8f5"></a><!-- doxytag: member="Accessibility::DeviceEvent::event_string" ref="325d0a5252ff77e13649202c6a9fd8f5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="structAccessibility_1_1DeviceEvent.html#325d0a5252ff77e13649202c6a9fd8f5">Accessibility::DeviceEvent::event_string</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A string representation of the event. If is_text is <code>True</code>, then this string represents the character or typographic sequence that would be received by a focussed text input field. event_string is in general suitable for exposure to the end-user for purposes of keyboard echo. 
</div>
</div><p>
<a class="anchor" name="3a5f6d11d26812ddfafd9d0645d9568c"></a><!-- doxytag: member="Accessibility::DeviceEvent::is_text" ref="3a5f6d11d26812ddfafd9d0645d9568c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="structAccessibility_1_1DeviceEvent.html#3a5f6d11d26812ddfafd9d0645d9568c">Accessibility::DeviceEvent::is_text</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<code>True</code> if the event results in the insertion of characters into an input text buffer, or would do so if delivered to a focussed text input field. ¨Typographical¨ key events have this field set to <code>True</code>, whereas ¨control¨ key events generally do not. 
</div>
</div><p>
<hr>The documentation for this struct 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></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jul 10 10:46:52 2007 for at-spi-idl by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>