4 \fBmitem_opts\fR - set and get menu item options
6 \fB#include <menu.h>\fR
8 int set_item_opts(ITEM *item, OPTIONS opts);
10 int item_opts_on(ITEM *item, OPTIONS opts);
12 int item_opts_off(ITEM *item, OPTIONS opts);
14 OPTIONS item_opts(const ITEM *item);
17 The function \fBset_item_opts\fR sets all the given item's option bits (menu
18 option bits may be logically-OR'ed together).
20 The function \fBitem_opts_on\fR turns on the given option bits, and leaves
23 The function \fBitem_opts_off\fR turns off the given option bits, and leaves
26 The function \fBitem_opts\fR returns the item's current option bits.
28 There is only one defined option bit mask, \fBO_SELECTABLE\fR. When this is
29 on, the item may be selected during menu processing. This option defaults
32 Except for \fBitem_opts\fR, each routine returns one of the following:
35 The routine succeeded.
38 System error occurred (see \fBerrno\fR).
40 \fBcurses\fR(3X), \fBmenu\fR(3X).
42 The header file \fB<menu.h>\fR automatically includes the header file
45 These routines emulate the System V menu library. They were not supported on
46 Version 7 or BSD versions.
48 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
51 .\"# The following sets edit modes for GNU EMACS