[ NoWrapper ]
public virtual void add_key_grab (KeyDefinition kd)
| 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 |
|
an identifier that can be later used to remove the grab, or 0 if the key/modifier combination could not be grabbed. Add a key grab for the given key/modifier combination. |