Function

AtspiKeyCallback

Declaration

void
(* AtspiKeyCallback) (
  AtspiDevice* device,
  gboolean pressed,
  guint keycode,
  guint keysym,
  guint modifiers,
  const gchar* keystring,
  void* user_data
)

Description [src]

A callback that will be invoked when a key is pressed.

Parameters

device AtspiDevice
 

The device.

 The data is owned by the caller of the function.
pressed gboolean
 

TRUE if the key is being pressed, FALSE if being released.

keycode guint
 

The hardware code for the key.

keysym guint
 

The keysym for the key.

modifiers guint
 

A bitflag indicating which key modifiers are active.

keystring const gchar*
 

The text corresponding to the keypress.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
user_data void*
 

User-supplied data.

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