]> Dogcows Code - chaz/openbox/blob - c/kbind.h
merge the C branch into HEAD
[chaz/openbox] / c / kbind.h
1 #ifndef __kbind_h
2 #define __kbind_h
3
4 #include <glib.h>
5
6 void kbind_startup();
7 void kbind_shutdown();
8
9 /*! Adds a new key binding
10 A binding will fail to be added if the binding already exists (as part of
11 a chain or not), or if any of the strings in the keylist are invalid.
12 @return TRUE if the binding could be added; FALSE if it could not.
13 */
14 gboolean kbind_add(GList *keylist);
15 void kbind_clearall();
16
17 guint kbind_translate_modifier(char *str);
18
19 void kbind_fire(guint state, guint key, gboolean press);
20
21 gboolean kbind_grab_keyboard(gboolean grab);
22
23 #endif
This page took 0.042221 seconds and 5 git commands to generate.