Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ menu_item_opts(3X) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

menus(3X)



menu_item_opts(3X)             DG/UX R4.11MU05            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 processing.

RETURN VALUE
       Except for itemopts, these routines return one of the following:
       EOK           - The routine returned successfully.
       ESYSTEMERROR - System error.

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

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


Licensed material--property of copyright holder(s)

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