comparison 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
comparison
equal deleted inserted replaced
15978:2a82bc8d57f7 15979:2c81ebc7bf0b
80 * This will do stuff with the terminal settings and stuff. 80 * This will do stuff with the terminal settings and stuff.
81 */ 81 */
82 void gnt_init_keys(void); 82 void gnt_init_keys(void);
83 void gnt_keys_refine(char *text); 83 void gnt_keys_refine(char *text);
84 const char *gnt_key_translate(const char *name); 84 const char *gnt_key_translate(const char *name);
85 const char *gnt_key_lookup(const char *key);
85 86
86 void gnt_keys_add_combination(const char *path); 87 void gnt_keys_add_combination(const char *path);
87 void gnt_keys_del_combination(const char *path); 88 void gnt_keys_del_combination(const char *path);
88 int gnt_keys_find_combination(const char *path); 89 int gnt_keys_find_combination(const char *path);
89 90