Details
enum AccessibleKeySynthType
typedef enum {
SPI_KEY_PRESS,
SPI_KEY_RELEASE,
SPI_KEY_PRESSRELEASE,
SPI_KEY_SYM
} AccessibleKeySynthType; |
getDesktopCount ()
Get the number of virtual desktops.
NOTE: currently multiple virtual desktops are not implemented, this
function always returns '1'.
getDesktop ()
Accessible* getDesktop (int i); |
Get the virtual desktop indicated by index i.
NOTE: currently multiple virtual desktops are not implemented, this
function always returns '1'.
getDesktopList ()
int getDesktopList (Accessible **list); |
Get the list of virtual desktops. On return, list will point
to a newly-created array of virtual desktop pointers.
It is the responsibility of the caller to free this array when
it is no longer needed.
Not Yet Implemented : this implementation always returns a single
Accessible desktop.
AccessibleKeystrokeListenerCB
typedef BooleanKeystrokeListenerCB AccessibleKeystrokeListenerCB; |
AccessibleKeyEventMask
typedef unsigned long AccessibleKeyEventMask; |
AccessibleKeyMaskType
typedef unsigned long AccessibleKeyMaskType; |
enum AccessibleKeyEventType
typedef enum {
SPI_KEY_PRESSED = 1,
SPI_KEY_RELEASED = 2
} AccessibleKeyEventType; |
enum AccessibleKeyListenerSyncType
typedef enum {
SPI_KEYLISTENER_NOSYNC = 0,
SPI_KEYLISTENER_SYNCHRONOUS = 1,
SPI_KEYLISTENER_CANCONSUME = 2,
SPI_KEYLISTENER_ALL_WINDOWS = 4
} AccessibleKeyListenerSyncType; |
createAccessibleKeystrokeListener ()
Create a new AccessibleKeystrokeListener with a specified callback function.
registerGlobalEventListener ()
boolean registerGlobalEventListener (AccessibleEventListener *listener,
char *eventType); |
Legal object event types:
(property change events)
object:property-change
object:property-change:accessible-name
object:property-change:accessible-state
object:property-change:accessible-description
object:property-change:accessible-parent
object:property-change:accessible-value
object:property-change:accessible-role
object:property-change:accessible-table-caption
object:property-change:accessible-table-column-description
object:property-change:accessible-table-column-header
object:property-change:accessible-table-row-description
object:property-change:accessible-table-row-header
object:property-change:accessible-table-summary
(other object events)
object:children-changed
object:visible-data-changed
object:selection-changed
object:text-selection-changed
object:text-changed
object:text-caret-moved
object:row-inserted
object:row-reordered
object:row-deleted
object:column-inserted
object:column-reordered
object:column-deleted
object:model-changed
NOTE: this string may be UTF-8, but should not contain byte value 56
(ascii ':'), except as a delimiter, since non-UTF-8 string
delimiting functions are used internally.
In general, listening to
toolkit-specific events is not recommended.
Add an in-process callback function to an existing AccessibleEventListener.
deregisterGlobalEventListener ()
boolean deregisterGlobalEventListener (AccessibleEventListener *listener,
char *eventType); |
deregisters an AccessibleEventListener from the registry, for a specific
event type.
deregisterGlobalEventListenerAll ()
boolean deregisterGlobalEventListenerAll
(AccessibleEventListener *listener); |
deregisters an AccessibleEventListener from the registry, for all
event types it may be listening to.
registerAccessibleKeystrokeListener ()
Register a listener for keystroke events, either pre-emptively for
all windows (SPI_KEYLISTENER_ALL_WINDOWS), or
non-preemptively (SPI_KEYLISTENER_NOSYNC).
( Other sync_type values may be available in the future.)
deregisterAccessibleKeystrokeListener ()
void deregisterAccessibleKeystrokeListener
(AccessibleKeystrokeListener *listener,
AccessibleKeyMaskType modmask); |
Removes a keystroke event listener from the registry's listener queue,
ceasing notification of events with modifiers matching modmask.
AccessibleKeystrokeListener_removeCallback ()
Remove an in-process callback function from an existing AccessibleKeystrokeListener.
AccessibleKeystrokeListener_addCallback ()
Add an in-process callback function to an existing AccessibleKeystrokeListener.
generateKeyEvent ()
Synthesize a keyboard event (as if a hardware keyboard event occurred in the
current UI context).
generateMouseEvent ()
void generateMouseEvent (long int x,
long int y,
char *name); |
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.
Not Yet Implemented.