Lines Matching refs:KeyTab

61 struct KeyTab {
70 static int _kt_extend_table(KeyTab *kt);
79 static KtKeyMatch _kt_locate_keybinding(KeyTab *kt, const char *binary_keyseq,
86 * return KeyTab * The new object, or NULL on error.
88 KeyTab *_new_KeyTab(void)
90 KeyTab *kt; /* The object to be returned */
94 kt = (KeyTab *) malloc(sizeof(KeyTab));
141 * Delete a KeyTab object.
144 * kt KeyTab * The object to be deleted.
146 * return KeyTab * The deleted object (always NULL).
148 KeyTab *_del_KeyTab(KeyTab *kt)
165 * kt KeyTab * The table to be extended.
170 static int _kt_extend_table(KeyTab *kt)
197 * kt KeyTab * The table to add the binding to.
207 int _kt_set_keybinding(KeyTab *kt, KtBinder binder, const char *keyseq,
249 * kt KeyTab * The table to add the binding to.
260 int _kt_set_keyfn(KeyTab *kt, KtBinder binder, const char *keyseq,
391 * kt KeyTab * The keybinding table to lookup in.
408 static KtKeyMatch _kt_locate_keybinding(KeyTab *kt, const char *binary_keyseq,
463 * kt KeyTab * The keybinding table to lookup in.
482 KtKeyMatch _kt_lookup_keybinding(KeyTab *kt, const char *binary_keyseq,
653 * kt KeyTab * The key-binding table.
663 int _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data)
787 * kt KeyTab * The table of key bindings.
790 void _kt_clear_bindings(KeyTab *kt, KtBinder binder)
933 * kt KeyTab * The table of key bindings.
941 int _kt_add_bindings(KeyTab *kt, KtBinder binder, const KtKeyBinding *bindings,
968 * kt KeyTab * The table of key bindings.
981 int _kt_lookup_action(KeyTab *kt, const char *action,
1016 * kt KeyTab * The table of key bindings.
1021 const char *_kt_last_error(KeyTab *kt)
1023 return kt ? _err_get_msg(kt->err) : "NULL KeyTab argument";