diff finch/libgnt/gntkeys.h @ 15979:2c81ebc7bf0b

Add a way to get a list of bindings for a widget. This can be used by, eg, a window-manager to show helpful messages to the user.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 04 Apr 2007 03:47:13 +0000
parents 0e3a8505ebbe
children 8410511f4dbb 05d7fe2320a9
line wrap: on
line diff
--- a/finch/libgnt/gntkeys.h	Sun Apr 01 08:05:59 2007 +0000
+++ b/finch/libgnt/gntkeys.h	Wed Apr 04 03:47:13 2007 +0000
@@ -82,6 +82,7 @@
 void gnt_init_keys(void);
 void gnt_keys_refine(char *text);
 const char *gnt_key_translate(const char *name);
+const char *gnt_key_lookup(const char *key);
 
 void gnt_keys_add_combination(const char *path);
 void gnt_keys_del_combination(const char *path);