Previous: Menu creation, Up: The curses menu library [Contents][Index]
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 others alone.
The function menu-opts-off turns off the given option bits, and
leaves others alone.
The following options are defined (all are on by default):
O_ONEVALUEOnly one item can be selected for this menu.
O_SHOWDESCDisplay the item descriptions when the menu is posted.
O_ROWMAJORDisplay the menu in row-major order.
O_IGNORECASEIgnore the case when pattern-matching.
O_SHOWMATCHMove the cursor to within the item name while pattern-matching.
O_NONCYCLICDon’t wrap around next-item and previous-item, requests to the other end of the menu.
The procedure will return E_OK, E_SYSTEM_ERROR, or
E_POSTED if the menu is already posted.
Returns the bitmask of the menu’s options.
| • Menu pattern buffer: | ||
| • Writing or erasing menus from window: | ||
| • Control spacing between menu items: | ||
| • Associate menus with window: |