mitem_opts − set and get menu item options
int set_item_opts(ITEM *item, Item_Options opts);
int item_opts_on(ITEM *item, Item_Options opts);
int item_opts_off(ITEM *item, Item_Options opts);
Item_Options item_opts(const ITEM *item);
The function set_item_opts sets all the given item’s option bits (menu option bits may be logically-OR’ed together).
The function item_opts_on turns on the given option bits, and leaves others alone.
The function item_opts_off turns off the given option bits, and leaves others alone.
The function item_opts returns the item’s current option bits.
There is only one defined option bit mask, O_SELECTABLE. When this is on, the item may be selected during menu processing. This option defaults to on.
Except for item_opts, each routine returns one of the following:
The routine succeeded.
System error occurred (see errno).
The header file <menu.h> automatically includes the header file <curses.h>.
These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions.
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
More Linux Commands
hunzip(1) - decompress and decrypt hzip files to the standar
Hunzip is the decompression and decryption program of hzip format. OPTIONS -h Display short help description. EXAMPLE hunzip file.hz >file NOTES Redirection of
ppmfade(1) - generate a transition between two image files u
This program is part of Netpbm(1) ppmfadegenerates a transition between either two input images or between one input image and black. You can use the 30 interme
glReadPixels(3gl) - read a block of pixels from the frame bu
glReadPixels returns pixel data from the frame buffer, starting with the pixel whose lower left corner is at location (x, y), into client memory starting at loc
j1f(3) - Bessel functions of the first kind - Linux man page
The j0() and j1() functions return Bessel functions of x of the first kind of orders 0 and 1, respectively. The jn() function returns the Bessel function of x o
XtTranslateCoords(3) - translate widget coordinates.........
While XtTranslateCoords is similar to the Xlib XTranslateCoordinates function, it does not generate a server request because all the required information alread
automake(1) - manual page for automake 1.11.1 (Man Page)....
Generate Makefile.in for configure from Makefile.am. Operation modes: --help print this help, then exit --version print version number, then exit -v, --verbose
tigetnum_sp(3ncurses) - curses screen-pointer extension.....
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th
groff_hdtbl(7) - groff `hdtbl' macros for generation of tabl
The hdtbl macros consist of four base and three optional macros, controlled by about twenty arguments. The syntax is simple and similar to the HTML table model
y1(3) - Bessel functions of the second kind - Linux man page
The y0() and y1() functions return Bessel functions of x of the second kind of orders 0 and 1, respectively. The yn() function returns the Bessel function of x
TAP::Parser::Result::Pragma(3pm) - TAP pragma token.........
This is a subclass of TAP::Parser::Result. A token of this class will be returned if a pragma is encountered. TAP version 13 pragma +strict, -foo Pragmas are on
winnwstr(3ncurses) - get a string of wchar_t characters from
These routines return a string of wchar_t characters in wstr, extracted starting at the current cursor position in the named window. Attributes are stripped fro
pnmtotiff(1) - replaced by pamtotiff - Linux manual page....
This program is part of Netpbm(1) In Netpbm 10.30 (October 2005), pnmtotiff was extended and renamed to pamtotiff(1) pamtotiff is backward compatible with pnmto