| Trees | Indices | Help |
|---|
|
|
object --+
|
Event
Wraps an AT-SPI event with a more Pythonic interface. Both AT-SPI device events (e.g. keyboard) and "normal" AT-SPI events (everything else) are handled by this class.
Note: All unmarked attributes of this class should be considered public readable and writable as the class is acting as a record object.
|
|||
|
|||
| string |
|
||
|
Inherited from |
|||
|
|||
| object |
any_data Extra AT-SPI data payload |
||
| boolean |
consume Should this event be consumed and not allowed to pass on to observers further down the dispatch chain? |
||
| integer |
detail1 First AT-SPI event parameter |
||
| integer |
detail2 Second AT-SPI event parameter |
||
| Accessibility.Accessible |
source Source of the event |
||
| EventType |
type The type of the AT-SPI event |
||
|
|||
|
Inherited from |
|||
|
|||
Extracts information from the provided event. If the event is a "normal" event, pulls the detail1, detail2, any_data, and source values out of the given object and stores it in this object. If the event is a device event, key ID is stored in detail1, scan code is stored in detail2, key name, key modifiers (e.g. ALT, CTRL, etc.), is text flag, and timestamp are stored as a 4-tuple in any_data, and source is None (since key events are global).
|
Builds a human readable representation of the event including event type, parameters, and, optionally, source info. This method is used by an AEMonitor to buffer string representations of events.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:27 2007 | http://epydoc.sourceforge.net |