int
item_count(
MENU *menu
)
ITEMS
**
menu_items(
MENU *menu
)
int
set_menu_items(
MENU *menu
, ITEM **items
)
)
menu
function returns the number of items currently attached to the menu
passed.
The
menu_items(
)
function returns a pointer to an array of item pointers that represent
the menu items currently attached to the given menu.
Apart from using
new_menu(
)
(see
menu_new(3))
menu items may be attached to a menu by calling
set_menu_items(
)
any items currently attached to the menu will be detached and the NULL
terminated array of new items will be attached to the menu.
E_OK
E_POSTED
E_CONNECTED
<menu.h>
automatically includes both
<curses.h>
and
<eti.h>
.