.PM ""
'\"!  tbl | mmdoc
'\"macro stdmacro
.if n .pH g3x.menu_i_opts @(#)menu_i_opts	40.3 of 12/15/89
.\" Copyright 1989 AT&T
.\" ident	"@(#)svid_ti:ti_lib/menu_i_opts	1.4"
.nr X
.if \nX=0 .ds x} menu_item_opts 3X "" "\&"
.if \nX=1 .ds x} menu_item_opts 3X ""
.if \nX=2 .ds x} menu_item_opts 3X "" "\&"
.if \nX=3 .ds x} menu_item_opts "" "" "\&"
.TH \*(x}
.SH NAME
.na
\f4menu_item_opts\f2: \f4 set_item_opts\f1, \f4item_opts_on\f1, \f4item_opts_off\f1,
.br
\f4item_opts\f1 \- \f4menus\fP item option routines
.SH SYNOPSIS
.nf
.ft 4
#include <menu.h>
.sp
int set_item_opts(ITEM *item, OPTIONS opts);
int item_opts_on(ITEM *item, OPTIONS opts);
int item_opts_off(ITEM *item, OPTIONS opts);
OPTIONS item_opts(ITEM *item);
.ft 1
.fi
.SH DESCRIPTION
\f4set_item_opts\fP turns on the named options for
\f2item\f1 and turns off all other options.
Options are boolean values that can be OR-ed together.
.PP
\f4item_opts_on\fP turns on the named options for \f2item\f1;
no other option is changed.
.PP
\f4item_opts_off\fP turns off the named options for \f2item\f1;
no other option is changed.
.PP
\f4item_opts\fP returns the current options of \f2item\f1.
.PP
Item Options:
.RS 3
.TP 1i
\f4O_SELECTABLE\fP
The item can be selected during menu processing.
.RE
.SH RETURN VALUE
Except for \f4item_opts\fP, these routines return one of the following:
.TS
lfCWw(1.25i)1 c1 l .
E_OK	\-	The routine returned successfully.
E_SYSTEM_ERROR	\-	System error.
.TE
.SH NOTES
.PP
The header file \f4<menu.h>\f1 automatically includes the header files
\f4<eti.h>\fP and \f4<curses.h>\fP.
.SH SEE ALSO
.na
\f4curses\fP(3X),
\f4menus\fP(3X).
.ad
