Lines Matching refs:menu
3 * menubox.c -- implements the menu box
17 * to the first position in the menu box. Now lxdialog is a bit
18 * smarter and works more like other menu systems (just have a look at
37 * middle of the menu box, not at the bottom.
51 * Print menu item
92 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
160 /* Scroll menu up */
169 * Display a menu for choosing among a number of options
178 WINDOW *dialog, *menu;
220 /* create new window for the menu */
221 menu = subwin(dialog, menu_height, menu_width,
223 keypad(menu, TRUE);
225 /* draw a box around the menu items */
255 /* Print the menu */
260 wnoutrefresh(menu);
266 wmove(menu, choice, item_x + 1);
267 wrefresh(menu);
270 key = wgetch(menu);
303 /* Scroll menu down */
304 do_scroll(menu, &scroll, -1);
315 /* Scroll menu up */
316 do_scroll(menu, &scroll, 1);
324 scrollok(menu, TRUE);
327 do_scroll(menu, &scroll, -1);
338 do_scroll(menu, &scroll, 1);
355 wrefresh(menu);
368 wrefresh(menu);
382 delwin(menu);
412 key = on_key_esc(menu);
416 delwin(menu);
421 delwin(menu);