Manual Pages for UNIX Darwin command on man item_opts_off
MyWebUniversity

Manual Pages for UNIX Darwin command on man item_opts_off

mitemopts(3X) mitemopts(3X)

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 (menu

option 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)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™