Lines Matching refs:dialog_key
154 q[0].dialog_key = curses_key; in dlg_register_buttons()
253 return q->dialog_key; in dlg_lookup_key()
257 *fkey = q->dialog_key; in dlg_lookup_key()
277 dlg_result_key(int dialog_key, int fkey GCC_UNUSED, int *resultp) in dlg_result_key() argument
281 DLG_TRACE(("# dlg_result_key(dialog_key=%d, fkey=%d)\n", dialog_key, fkey)); in dlg_result_key()
284 if (dialog_key == ERR) { in dlg_result_key()
285 dialog_key = 0; in dlg_result_key()
289 } else if (fkey && dialog_key == KEY_RESIZE) { in dlg_result_key()
295 switch ((DLG_KEYS_ENUM) dialog_key) { in dlg_result_key()
329 if (dialog_key == ESC) { in dlg_result_key()
332 } else if (dialog_key == ERR) { in dlg_result_key()
349 dlg_button_key(int exit_code, int *button, int *dialog_key, int *fkey) in dlg_button_key() argument
384 *dialog_key = *fkey = DLGK_ENTER; in dlg_button_key()
390 dlg_ok_button_key(int exit_code, int *button, int *dialog_key, int *fkey) in dlg_ok_button_key() argument
398 result = dlg_button_key(exit_code, button, dialog_key, fkey); in dlg_ok_button_key()
644 make_binding(char *widget, int curses_key, int is_function, int dialog_key) in make_binding() argument
662 data[0].dialog_key = dialog_key; in make_binding()
753 int dialog_key; in dlg_parse_bindkey() local
756 dialog_key = -1; in dlg_parse_bindkey()
822 dialog_key = dialog_names[xx].code; in dlg_parse_bindkey()
829 && dialog_key >= 0 in dlg_parse_bindkey()
830 && make_binding(widget, curses_key, is_function, dialog_key) != 0) { in dlg_parse_bindkey()
881 dump_dialog_key(FILE *fp, int dialog_key) in dump_dialog_key() argument
886 if (dialog_names[n].code == dialog_key) { in dump_dialog_key()
893 fprintf(fp, "dialog%d", dialog_key); in dump_dialog_key()
909 dump_dialog_key(fp, binding->dialog_key); in dump_one_binding()
916 if (actual != binding->dialog_key) { in dump_one_binding()