item_visible(3)

item_visible3

Check visibility of a menu item

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

66 releases since FreeBSD 4.3-RELEASE; the text changed 4 times.

  1. 4.3–10.4
  2. 11.0–12.4
  3. 13.0–13.5
  4. 14.0–14.1
  5. 14.2–16.0

Authors

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

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's man source.