mitem_visible()

NAME

item_visible() - check visibility of a menu item

SYNOPSIS

#include <menu.h>

int item_visible(ITEM *item);

DESCRIPTION

A menu item is visible when it is in the portion of a posted menu that is mapped onto the screen (if the menu is scrollable, in particular, this portion will be smaller than the whole menu).

RETURN VALUES

The function item_visible(3) returns TRUE if item is visible, and FALSE if it is not.

SEE ALSO

curses(3)

menus(3)

NOTES

The header file <menu.h> automatically includes the header file <curses.h>.

PORTABILITY

These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions.