NAME
mmiitteemmooppttss - set and get menu item options
SYNOPSIS
##iinncclluuddee <
> int setitemopts(ITEM *item, OPTIONS opts);
int itemoptson(ITEM *item, OPTIONS opts);
int itemoptsoff(ITEM *item, OPTIONS opts);
OPTIONS itemopts(const ITEM *item);
DESCRIPTION
The function sseettiitteemmooppttss sets all the given item's option bits (menuoption bits may be logically-OR'ed together).
The function iitteemmooppttssoonn turns on the given option bits, and leaves others alone. The function iitteemmooppttssooffff turns off the given option bits, and leaves others alone. The function iitteemmooppttss returns the item's current option bits. There is only one defined option bit mask, OOSSEELLEECCTTAABBLLEE. When this is on, the item may be selected during menu processing. This option defaults to on. RREETTUURRNN VVAALLUUEE Except for iitteemmooppttss, each routine returns one of the following: EEOOKK The routine succeeded. EESSYYSSTTEEMMEERRRROORR System error occurred (see eerrrrnnoo).SEE ALSO
ccuurrsseess(3X), mmeennuu(3X). NNOOTTEESS The header file <> automatically includes the header file < >. PPOORRTTAABBIILLIITTYY These routines emulate the System V menu library. They were not sup-
ported on Version 7 or BSD versions. AUTHORS Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. mitemopts(3X)