Mercurial > pidgin
diff finch/libgnt/gntbindable.h @ 22899:24dfef623410
Check if a key is already bound before assigning a menu trigger
author | Richard Nelson <wabz@pidgin.im> |
---|---|
date | Sun, 11 May 2008 07:20:42 +0000 |
parents | ae330012956f |
children | 650ab9eb4b21 |
line wrap: on
line diff
--- a/finch/libgnt/gntbindable.h Sun May 11 05:08:08 2008 +0000 +++ b/finch/libgnt/gntbindable.h Sun May 11 07:20:42 2008 +0000 @@ -149,6 +149,16 @@ gboolean gnt_bindable_perform_action_key(GntBindable *bindable, const char *keys); /** + * Discover if a key is bound. + * + * @param bindable The bindable object. + * @param keys The key to check for. + * + * @return @c TRUE if the the key has an action associated with it. + */ +gboolean gnt_bindable_check_key(GntBindable *bindable, const char *keys); + +/** * Perform an action on a bindable object. * * @param bindable The bindable object.