Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ menu_i_opts(3x) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

menus(3X)



menu_item_opts(3X)      LIBRARY FUNCTIONS      menu_item_opts(3X)



NAME
     menuitemopts:  setitemopts, itemoptson, itemoptsoff,
     itemopts - menus item option routines

SYNOPSIS
     #include <menu.h>

     int setitemopts(ITEM *item, OPTIONS opts);
     int itemoptson(ITEM *item, OPTIONS opts);
     int itemoptsoff(ITEM *item, OPTIONS opts);
     OPTIONS itemopts(ITEM *item);

DESCRIPTION
     setitemopts turns on the named options for item and  turns
     off  all other options.  Options are boolean values that can
     be OR-ed together.

     itemoptson turns on the named options for item;  no  other
     option is changed.

     itemoptsoff turns off the named options for item; no other
     option is changed.

     itemopts returns the current options of item.

     Item Options:

        OSELECTABLE
                  The item can be selected during  menu  process-
                  ing.

RETURN VALUE
     Except for itemopts, these routines return one of the  fol-
     lowing:
     E_OK           - The routine returned successfully.
     E_SYSTEM_ERROR - System error.

NOTES
     The header file <menu.h> automatically includes  the  header
     files <eti.h> and <curses.h>.

SEE ALSO
     curses(3X), menus(3X).












                                                                1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026