Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ menu_items(3x) — Atari System V ue12

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

menus(3X)





   menu_items(3X)                                               menu_items(3X)


   NAME
         menuitems:  setmenuitems, menuitems, itemcount - connect and
         disconnect items to and from menus

   SYNOPSIS
         #include <menu.h>

         int setmenuitems(MENU *menu, ITEM **items);
         ITEM **menuitems(MENU *menu);
         int itemcount(MENU *menu);

   DESCRIPTION
         setmenuitems changes the item pointer array connected to menu to
         the item pointer array items.

         menuitems returns a pointer to the item pointer array connected to
         menu.

         itemcount returns the number of items in menu.

   RETURN VALUE
         menuitems returns NULL on error.

         itemcount returns -1 on error.

         setmenuitems returns one of the following:
         EOK           - The routine returned successfully.
         ESYSTEMERROR - System error.
         EBADARGUMENT - An incorrect argument was passed to the routine.
         EPOSTED       - The menu is already posted.
         ECONNECTED    - One or more items are already connected to
                          another menu.

   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