The function set_menu_opts sets all the given menu's option bits
(menu option bits may be logically-OR'ed together).
The function menu_opts_on turns on the given option bits, and leaves
The function menu_opts_off turns off the given option bits, and
leaves others alone.
The function menu_opts returns the menu's current option bits.
The following options are defined (all are on by default):
Only one item can be selected for this menu.
Display the item descriptions when the menu is posted.
Display the menu in row-major order.
Ignore the case when pattern-matching.
Move the cursor to within the item name while pattern-matching.
Don't wrap around next-item and previous-item, requests to the
other end of the menu.
If user clicks with the mouse and it does not fall on the
currently active menu, push KEY_MOUSE and the MEVENT data back
on the queue to allow processing in another part of the calling
This page is part of the ncurses (new curses) project. Information
about the project can be found at
⟨https://www.gnu.org/software/ncurses/ncurses.html⟩. If you have a
bug report for this manual page, send it to
email@example.com. This page was obtained from the
project's upstream Git mirror of the CVS repository
⟨git://ncurses.scripts.mit.edu/ncurses.git⟩ on 2017-03-13. If you
discover any rendering problems in this HTML version of the page, or
you believe there is a better or more up-to-date source for the page,
or you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a mail