| | |
- clickObject(obj, button)
- Performs a button click on the given Accessible.
Arguments:
- obj: the Accessible
- button: an integer representing the mouse button number
- clickPoint(x, y, button)
- Performs a button click on the given point.
Arguments:
- obj: the Accessible
- x, y: the point
- button: an integer representing the mouse button number
- generateKeyboardEvent(keycode, keystring, type)
- Generates 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.
- type: an AccessibleKeySynthType flag indicating whether keyval
is to be interpreted as a keysym rather than a keycode
(atspi.Accessibility.KEY_SYM), or whether to synthesize
KEY_PRESS, KEY_RELEASE, or both (KEY_PRESSRELEASE).
- generateMouseEvent(x, y, eventName)
- Synthesize 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)
|