Function

Atspideregister_keystroke_listener

Declaration [src]

gboolean
atspi_deregister_keystroke_listener (
  AtspiDeviceListener* listener,
  GArray* key_set,
  AtspiKeyMaskType modmask,
  AtspiKeyEventMask event_types,
  GError** error
)

Description [src]

Removes a keystroke event listener from the registry’s listener queue, ceasing notification of events with modifiers matching modmask.

Parameters

listener AtspiDeviceListener
 

A pointer to the AtspiDeviceListener for which keystroke events are requested.

 The data is owned by the caller of the function.
key_set An array of AtspiKeyDefinition*
 

A pointer to the AtspiKeyDefinition array indicating which keystroke events are requested, or NULL to indicate that all keycodes and keyvals for the specified modifier set are to be included.

 The argument can be NULL.
 The data is owned by the caller of the function.
modmask AtspiKeyMaskType
 

The key modifier mask for which this listener is to be ‘deregistered’ (of type AtspiKeyMaskType).

event_types AtspiKeyEventMask
 

An AtspiKeyMaskType mask indicating which types of key events were requested (ATSPI_KEY_PRESSED, etc.).

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if successful, otherwise FALSE.