Lines Matching full:menu
2 * menubox.c -- implements the menu box
30 * to the first position in the menu box. Now lxdialog is a bit
31 * smarter and works more like other menu systems (just have a look at
50 * middle of the menu box, not at the bottom.
64 * Print menu item
105 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
171 /* Scroll menu up */
180 * Display a menu for choosing among a number of options
189 WINDOW *dialog, *menu;
231 /* create new window for the menu */
232 menu = subwin(dialog, menu_height, menu_width,
234 keypad(menu, TRUE);
236 /* draw a box around the menu items */
266 /* Print the menu */
271 wnoutrefresh(menu);
277 wmove(menu, choice, item_x + 1);
278 wrefresh(menu);
281 key = wgetch(menu);
313 /* Scroll menu down */
314 do_scroll(menu, &scroll, -1);
325 /* Scroll menu up */
326 do_scroll(menu, &scroll, 1);
334 scrollok(menu, TRUE);
337 do_scroll(menu, &scroll, -1);
348 do_scroll(menu, &scroll, 1);
365 wrefresh(menu);
378 wrefresh(menu);
388 delwin(menu);
412 delwin(menu);
422 key = on_key_esc(menu);
426 delwin(menu);
431 delwin(menu);