#include <menu.h>
int set_item_opts(ITEM *item, OPTIONS opts);
int item_opts_on(ITEM *item, OPTIONS opts);
int item_opts_off(ITEM *item, OPTIONS opts);
OPTIONS item_opts(ITEM *item);
Unsafe
item_opts_on() turns on the named options for item; no other option is changed.
item_opts_off() turns off the named options for item; no other option is changed.
item_opts() returns the current options of item.
Item Options:
- O_SELECTABLE
- The item can be selected during menu processing.
E_OK The routine returned successfully. E_SYSTEM_ERROR System error.
The header <menu.h> automatically includes the headers <eti.h> and <curses.h>.