comparison finch/libgnt/gntbindable.h @ 19186:eef82b050c21

merge of 'bbeac90ad01d5059327da9e2504716614a191cab' and 'f30bfc6fc7aee19d096dd838aad5a784a7371d6c'
author Kevin Stange <kevin@simguy.net>
date Sat, 11 Aug 2007 21:08:27 +0000
parents b25cb0775be3
children 44b4e8bd759b
comparison
equal deleted inserted replaced
18842:e20619418edf 19186:eef82b050c21
55 55
56 GHashTable *remaps; /* Key remaps */ 56 GHashTable *remaps; /* Key remaps */
57 GHashTable *actions; /* name -> Action */ 57 GHashTable *actions; /* name -> Action */
58 GHashTable *bindings; /* key -> ActionParam */ 58 GHashTable *bindings; /* key -> ActionParam */
59 59
60 void (*gnt_reserved1)(void); 60 GntBindable * help_window;
61
61 void (*gnt_reserved2)(void); 62 void (*gnt_reserved2)(void);
62 void (*gnt_reserved3)(void); 63 void (*gnt_reserved3)(void);
63 void (*gnt_reserved4)(void); 64 void (*gnt_reserved4)(void);
64 }; 65 };
65 66
148 * 149 *
149 * @return 150 * @return
150 */ 151 */
151 gboolean gnt_bindable_perform_action_named(GntBindable *bindable, const char *name, ...); 152 gboolean gnt_bindable_perform_action_named(GntBindable *bindable, const char *name, ...);
152 153
154 /**
155 * Returns a GntTree populated with "key" -> "binding" for the widget.
156 */
157 /**
158 *
159 * @param widget
160 *
161 * @return
162 */
163 GntBindable * gnt_bindable_bindings_view(GntBindable *bind);
164
165 /**
166 *
167 * Builds a window that list the key bindings for a GntBindable object. From this window a user can select a listing to rebind a new key for the given action.
168 *
169 */
170 /**
171 *
172 * @param bindable
173 *
174 * @return
175 */
176
177 gboolean gnt_bindable_build_help_window(GntBindable *bindable);
178
153 G_END_DECLS 179 G_END_DECLS
154 180
155 #endif /* GNT_BINDABLE_H */ 181 #endif /* GNT_BINDABLE_H */
156 182