add_key_grab
Description:
Parameters:
| this |
the device. |
| kd |
a KeyDefinition specifying the key code to grab. |
| callback |
the function to call when the given key is pressed. |
| callback_destroyed |
callback function to be called when |
| user_data |
Data to be passed to |
Returns:
|
an identifier that can be later used to remove the grab. Add a key grab for the given key/modifier combination. |