mitem_visible(3menu)

mitem_visible3menu

Check visibility of a menu item

Part of menu_visible(3menu).

Usage

#include <menu.h>

bool item_visible(const ITEM *item);

Overview

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).

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.

Releases

11 releases since Debian 3.0 (Woody); the text changed 6 times.

  1. 3.0
  2. 3.1
  3. 4.0–6.0
  4. 7–9
  5. 10
  6. 11
  7. 12

Authors

Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.

From ncurses-doc 6.4-4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.