| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/site-packages/orca/ |
Upload File : |
Ñò
z#ÝJc @ s d Z d Z d Z d Z d Z d Z d d k Z d d k Z d d k Z d Z d Z
d
Z d Z d Z
d
d d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d d d „ ƒ YZ d „ Z d S( s` Provides support for handling input events. This provides several classes
to define input events (InputEvent, KeyboardEvent, BrailleEvent,
MouseButtonEvent, MouseMotionEvent, and SpeechEvent), and also provides a
InputEventHandler class. It is intended that instances of InputEventHandler
will be used which should be used to handle all input events.s $Id$s
$Revision$s $Date$s- Copyright (c) 2005-2008 Sun Microsystems Inc.t LGPLiÿÿÿÿNt keyboardt brailles mouse:buttons mouse:motiont speecht
InputEventc B s e Z d „ Z RS( c C s
| | _ d S( sá Creates a new input event of the given type.
Arguments:
- eventType: the input event type (one of KEYBOARD_EVENT, BRAILLE_EVENT,
MOUSE_BUTTON_EVENT, MOUSE_MOTION_EVENT, SPEECH_EVENT).
N( t type( t selft eventType( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyt __init__, s ( t __name__t
__module__R ( ( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR * s t
KeyboardEventc B s e Z d „ Z RS( c C së | i } | i t i @oV | i oK t | ƒ d j o8 t | i d ƒ } | d j o t | d ƒ } qp n | i t i @| _ t i
| t ƒ | i | _ | i
| _
| i | _ | | _ | i | _ t i ƒ | _ | i | _ d S( sx Creates a new InputEvent of type KEYBOARD_EVENT.
Arguments:
- event: the AT-SPI keyboard event
i i i i@ N( t event_stringt modifierst settingst CTRL_MODIFIER_MASKt is_textt lent ordt chrt ALL_BUT_NUMLOCK_MODIFIER_MASKR R t KEYBOARD_EVENTR t hw_codet timet timestamp( R t eventR t value( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR 8 s
( R R
R ( ( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR 6 s t BrailleEventc B s e Z d „ Z RS( c C s t i | t ƒ | | _ d S( sˆ Creates a new InputEvent of type BRAILLE_EVENT.
Arguments:
- event: the integer BrlTTY command for this event.
N( R R t
BRAILLE_EVENTR ( R R ( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR ^ s ( R R
R ( ( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR \ s t MouseButtonEventc B s e Z d „ Z RS( c C si t i | t ƒ | i | _ | i | _ | i i d ƒ | _ | i t
d ƒ d !| _ t i ƒ | _ d S( s= Creates a new InputEvent of type MOUSE_BUTTON_EVENT.
t ps
mouse:button:iÿÿÿÿN(
R R t MOUSE_BUTTON_EVENTt detail1t xt detail2t yR t endswitht pressedR t buttonR ( R R ( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR i s ( R R
R ( ( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR g s t MouseMotionEventc B s e Z d „ Z RS( c C s t i | t ƒ | | _ d S( s3 [[[TODO: WDW - undefined at the moment.]]]
N( R R t MOUSE_MOTION_EVENTR ( R R ( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR u s ( R R
R ( ( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR' s s t SpeechEventc B s e Z d „ Z RS( c C s t i | t ƒ | | _ d S( s3 [[[TODO: WDW - undefined at the moment.]]]
N( R R t SPEECH_EVENTR ( R R ( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR } s ( R R
R ( ( ( s4 /usr/lib/python2.6/site-packages/orca/input_event.pyR) { s t InputEventHandlerc B s&