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
84 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
152 /* Scroll menu up */
161 * Display a menu for choosing among a number of options
170 WINDOW *dialog, *menu;
212 /* create new window for the menu */
213 menu = subwin(dialog, menu_height, menu_width,
215 keypad(menu, TRUE);
217 /* draw a box around the menu items */
247 /* Print the menu */
252 wnoutrefresh(menu);
258 wmove(menu, choice, item_x + 1);
259 wrefresh(menu);
262 key = wgetch(menu);
295 /* Scroll menu down */
296 do_scroll(menu, &scroll, -1);
307 /* Scroll menu up */
308 do_scroll(menu, &scroll, 1);
316 scrollok(menu, TRUE);
319 do_scroll(menu, &scroll, -1);
330 do_scroll(menu, &scroll, 1);
347 wrefresh(menu);
360 wrefresh(menu);
374 delwin(menu);
404 key = on_key_esc(menu);
408 delwin(menu);
413 delwin(menu);