1 #ifndef __plugin_keyboard_tree_h
2 #define __plugin_keyboard_tree_h
8 typedef struct KeyBindingTree {
12 GSList *actions; /* list of Action pointers */
14 /* the next binding in the tree at the same level */
15 struct KeyBindingTree *next_sibling;
16 /* the first child of this binding (next binding in a chained sequence).*/
17 struct KeyBindingTree *first_child;
20 void tree_destroy(KeyBindingTree *tree);
21 KeyBindingTree *tree_build(GList *keylist);
22 void tree_assimilate(KeyBindingTree *node);
23 KeyBindingTree *tree_find(KeyBindingTree *search, gboolean *conflict);