Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ menu_opts(3x) — Atari System V ue12

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

menus(3X)





   menu_opts(3X)                                                 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 following:
         EOK           - The routine returned successfully.
         ESYSTEMERROR - System error.
         EPOSTED       - 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).






   7/91                                                                 Page 1





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