Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ menu_opts(3X) — Amiga System V Release 4 Version 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

menus(3X)



menu_opts(3X)    MISCELLANEOUS LIBRARY FUNCTIONS    menu_opts(3X)



NAME
     menuopts:   setmenuopts,   menuoptson,   menuoptsoff,
     menuopts - menus option routines

SYNOPSIS
     #include <menu.h>

     int setmenuopts(MENU *menu, OPTIONS opts);
     int menuoptson(MENU *menu, OPTIONS opts);
     int menuoptsoff(MENU *menu, OPTIONS opts);
     OPTIONS menuopts(MENU *menu);

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

     menuoptson turns on the named options for menu;  no  other
     option is changed.

     menuoptsoff turns off the named options for menu; no other
     option is changed.

     menuopts returns the current options of menu.

      Menu Options:

          OONEVALUE     Only one item can be selected  from  the
                         menu.
          OSHOWDESC     Display the description of the items.
          OROWMAJOR     Display the menu in row major order.
          OIGNORECASE   Ignore the case when pattern matching.
          OSHOWMATCH    Place the cursor within  the  item  name
                         when pattern matching.
          ONONCYCLIC    Make certain menu driver  requests  non-
                         cyclic.

RETURN VALUE
     Except for menuopts, these routines return one of the  fol-
     lowing:
     E_OK           - The routine returned successfully.
     E_SYSTEM_ERROR - System error.
     E_POSTED       - The menu is already posted.

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

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




                          Last change:                          1



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