Manual pages › X Window and screen libraries (3X)
menu_i_name(3X)
get menus item name and description
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
NAME
menu_item_name: item_name, item_description - get menus item name and description
SYNOPSIS
#include <menu.h> char *item_name(ITEM *item); char *item_description(ITEM *item);
DESCRIPTION
item_name returns a pointer to the name of item.
item_description returns a pointer to the description of item.
RETURN VALUE
These routines return NULL on error.
NOTES
The header file <menu.h> automatically includes the header files <eti.h> and <curses.h>.
SEE ALSO
curses(3X), menus(3X), menu_new(3X).