42
44
* You bind an action to a shortcut with \ref cd_keybinder_bind, and unbind it with \ref cd_keybinder_unbind.
45
53
/// Definition of a callback, called when a shortcut is pressed by the user.
46
54
typedef void (* CDBindkeyHandler) (const char *keystring, gpointer user_data);
51
75
/** Bind a shortcut to an action. Unbind it when you don't want it anymore, or when 'user_data' is freed.
52
76
* @param keystring a shortcut.