Function
AtspiKeyCallback
Declaration
void
(* AtspiKeyCallback) (
AtspiDevice* device,
gboolean pressed,
guint keycode,
guint keysym,
guint modifiers,
const gchar* keystring,
void* user_data
)
Parameters
device-
Type:
AtspiDeviceThe device.
The data is owned by the caller of the function. pressed-
Type:
gbooleanTRUE if the key is being pressed, FALSE if being released.
keycode-
Type:
guintThe hardware code for the key.
keysym-
Type:
guintThe keysym for the key.
modifiers-
Type:
guintA bitflag indicating which key modifiers are active.
keystring-
Type:
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-
Type:
void*User-supplied data.
The argument can be NULL.The data is owned by the caller of the function.