item_visible(3menu)

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

Portability

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

Releases

12 releases since Debian 3.0 (Woody); the text changed 7 times.

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

Authors

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

From ncurses-doc 6.5+20250216-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.