4 \fBmenu_opts\fR - set and get menu options
6 \fB#include <menu.h>\fR
8 int set_menu_opts(MENU *menu, OPTIONS opts);
10 int menu_opts_on(MENU *menu, OPTIONS opts);
12 int menu_opts_off(MENU *menu, OPTIONS opts);
14 OPTIONS menu_opts(const MENU *menu);
17 The function \fBset_menu_opts\fR sets all the given menu's option bits (menu
18 option bits may be logically-OR'ed together).
20 The function \fBmenu_opts_on\fR turns on the given option bits, and leaves
23 The function \fBmenu_opts_off\fR turns off the given option bits, and leaves
26 The function \fBmenu_opts\fR returns the menu's current option bits.
28 The following options are defined (all are on by default):
31 Only one item can be selected for this menu.
34 Display the item descriptions when the menu is posted.
37 Display the menu in row-major order.
40 Ignore the case when pattern-matching.
43 Move the cursor to within the item name while pattern-matching.
46 Don't wrap around next-item and previous-item,
47 requests to the other end of the menu.
49 Except for \fBmenu_opts\fR, each routine returns one of the following:
52 The routine succeeded.
55 System error occurred (see \fBerrno\fR).
58 The menu is already posted.
60 \fBcurses\fR(3X), \fBmenu\fR(3X).
62 The header file \fB<menu.h>\fR automatically includes the header file
65 These routines emulate the System V menu library. They were not supported on
66 Version 7 or BSD versions.
68 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
71 .\"# The following sets edit modes for GNU EMACS