menu_opts(3X) UNIX System V menu_opts(3X)
NAME
menuopts: setmenuopts, menuoptson, menuoptsoff, menuopts - menus
option routines
SYNOPSIS
#include <menu.h>
int setmenuopts(MENU *menu, OPTIONS opts);
int menuoptson(MENU *menu, OPTIONS opts);
int menuoptsoff(MENU *menu, OPTIONS opts);
OPTIONS menuopts(MENU *menu);
DESCRIPTION
Menu Options
setmenuopts turns on the named options for menu and turns off all other
options. Options are boolean values that can be OR-ed together.
menuoptson turns on the named options for menu; no other option is
changed.
menuoptsoff turns off the named options for menu; no other option is
changed.
menuopts returns the current options of menu.
Menu Options:
OONEVALUE Only one item can be selected from the menu.
OSHOWDESC Display the description of the items.
OROWMAJOR Display the menu in row major order.
OIGNORECASE Ignore the case when pattern matching.
OSHOWMATCH Place the cursor within the item name when pattern
matching.
ONONCYCLIC Make certain menu driver requests non-cyclic.
RETURN VALUE
Except for menuopts, these routines return one of the following:
E_OK - The routine returned successfully.
E_SYSTEM_ERROR - System error.
E_POSTED - The menu is already posted.
NOTES
The header file <menu.h> automatically includes the header files <eti.h>
and <curses.h>.
SEE ALSO
curses(3X), menus(3X)
10/89 Page 1