Method
AtspiDeviceadd_key_watcher
Declaration [src]
void
atspi_device_add_key_watcher (
AtspiDevice* device,
AtspiKeyCallback callback,
void* user_data,
GDestroyNotify callback_destroyed
)
Description [src]
Add a callback that will receive a notification whenever a key is pressed or released.
Parameters
callback |
AtspiKeyCallback |
The function to call when the given key is pressed. |
|
The argument can be NULL . | |
user_data |
void* |
Data to be passed to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback_destroyed |
GDestroyNotify |
Callback function to be called
when |