]> Dogcows Code - chaz/openbox/blobdiff - c/kbind.h
merge the C branch into HEAD
[chaz/openbox] / c / kbind.h
diff --git a/c/kbind.h b/c/kbind.h
new file mode 100644 (file)
index 0000000..3a584b7
--- /dev/null
+++ b/c/kbind.h
@@ -0,0 +1,23 @@
+#ifndef __kbind_h
+#define __kbind_h
+
+#include <glib.h>
+
+void kbind_startup();
+void kbind_shutdown();
+
+/*! Adds a new key binding
+  A binding will fail to be added if the binding already exists (as part of
+  a chain or not), or if any of the strings in the keylist are invalid.    
+  @return TRUE if the binding could be added; FALSE if it could not.
+*/
+gboolean kbind_add(GList *keylist);
+void kbind_clearall();
+
+guint kbind_translate_modifier(char *str);
+
+void kbind_fire(guint state, guint key, gboolean press);
+
+gboolean kbind_grab_keyboard(gboolean grab);
+
+#endif
This page took 0.023439 seconds and 4 git commands to generate.