Method
AtspiDeviceadd_key_grab
Declaration [src]
guint
atspi_device_add_key_grab (
  AtspiDevice* device,
  AtspiKeyDefinition* kd,
  AtspiKeyCallback callback,
  void* user_data,
  GDestroyNotify callback_destroyed
)
Parameters
- kd
- 
            Type: AtspiKeyDefinitionA AtspiKeyDefinitionspecifying the key code to grab.The data is owned by the caller of the method. 
- callback
- 
            Type: AtspiKeyCallbackThe function to call when the given key is pressed. The argument can be NULL.
- user_data
- 
            Type: void*Data to be passed to callback.The argument can be NULL.The data is owned by the caller of the method. 
- callback_destroyed
- 
            Type: GDestroyNotifyCallback function to be called when callbackis destroyed.