Lines Matching +defs:key +defs:type
4 * the extended-key map.
6 * An extended-key (Xkey) is a sequence of keystrokes
9 * a map (the Xmap) to convert these extended-key sequences
20 * type of the match found (XK_STR, XK_CMD, or XK_EXE).
43 * are in Xmap, adding the key "abc" will cause the first two
107 int type;
192 if (ptr->type != XK_CMD)
194 return ptr->type;
219 xprintf("%s", CGETS(9, 1, "AddXkey: Null extended-key not allowed.\n"));
266 switch (ptr->type) {
280 switch (ptr->type = ntype) {
323 CGETS(9, 3, "DeleteXkey: Null extended-key not allowed.\n"));
395 switch (ptr->type) {
421 ptr->type = XK_NOD;
431 * Print the binding associated with Xkey key.
435 PrintXkey(const CStr *key)
440 if (key) {
441 cs.buf = key->buf;
442 cs.len = key->len;
448 /* do nothing if Xmap is empty and null key specified */
455 /* key is not bound */
456 xprintf(CGETS(9, 4, "Unbound extended key \"%S\"\n"), cs.buf);
488 /* next node is null so key should be complete */
492 printOne(buf->s, &ptr->val, ptr->type);
527 printOne(buf->s, &ptr->val, ptr->type);
541 * Print the specified key and its associated
545 printOne(const Char *key, const XmapVal *val, int ntype)
550 xprintf("%-15S-> ", key);