2 #ifndef __TOMBOY_KEY_BINDER_H__
3 #define __TOMBOY_KEY_BINDER_H__
5 #include <glib/gtypes.h>
9 typedef void (* TomboyBindkeyHandler
) (char *keystring
, gpointer user_data
);
11 void tomboy_keybinder_init (void);
13 void tomboy_keybinder_bind (const char *keystring
,
14 TomboyBindkeyHandler handler
,
17 void tomboy_keybinder_unbind (const char *keystring
,
18 TomboyBindkeyHandler handler
);
20 gboolean
tomboy_keybinder_is_modifier (guint keycode
);
24 #endif /* __TOMBOY_KEY_BINDER_H__ */