diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-16 21:11:39 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-16 21:11:39 +0000 |
| commit | f8a47de5ec444c452093371e3db16857eb39a490 (patch) | |
| tree | 31db2567842d98232775f9980f7a8d2586c0ac71 /c/kbind.h | |
| parent | 8ba0586bcbdc7fe9648f1063812126d71a041670 (diff) | |
merge the C branch into HEAD
Diffstat (limited to 'c/kbind.h')
| -rw-r--r-- | c/kbind.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/c/kbind.h b/c/kbind.h new file mode 100644 index 00000000..3a584b79 --- /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 |
