<HTML>
<BODY>
<PRE>
- <STRONG>menu_opts</STRONG> - set and get menu options
+<!-- Manpage converted by man2html 3.0.1 -->
+
+</PRE>
+<H2>NAME</H2><PRE>
+ <B>menu_opts</B> - set and get menu options
</PRE>
<H2>SYNOPSIS</H2><PRE>
- <STRONG>#include</STRONG> <STRONG><menu.h></STRONG>
+ <B>#include</B> <B><menu.h></B>
int set_menu_opts(MENU *menu, OPTIONS opts);
int menu_opts_on(MENU *menu, OPTIONS opts);
int menu_opts_off(MENU *menu, OPTIONS opts);
</PRE>
<H2>DESCRIPTION</H2><PRE>
- The function <STRONG>set_menu_opts</STRONG> sets all the given menu's
+ The function <B>set_menu_opts</B> sets all the given menu's
option bits (menu option bits may be logically-OR'ed
together).
- The function <STRONG>menu_opts_on</STRONG> turns on the given option bits,
+ The function <B>menu_opts_on</B> turns on the given option bits,
and leaves others alone.
- The function <STRONG>menu_opts_off</STRONG> turns off the given option
+ The function <B>menu_opts_off</B> turns off the given option
bits, and leaves others alone.
- The function <STRONG>menu_opts</STRONG> returns the menu's current option
+ The function <B>menu_opts</B> returns the menu's current option
bits.
The following options are defined (all are on by default):
</PRE>
<H2>RETURN VALUE</H2><PRE>
- Except for <STRONG>menu_opts</STRONG>, each routine returns one of the fol-
+ Except for <B>menu_opts</B>, each routine returns one of the fol-
lowing:
- <STRONG>E_OK</STRONG> The routine succeeded.
+ <B>E_OK</B> The routine succeeded.
- System error occurred (see <STRONG>errno</STRONG>).
- <STRONG>E_POSTED</STRONG>
+ <B>E_SYSTEM_ERROR</B>
+ System error occurred (see <B>errno</B>).
+
+ <B>E_POSTED</B>
The menu is already posted.
</PRE>
<H2>SEE ALSO</H2><PRE>
- <STRONG><A HREF="ncurses.3x.html">curses(3X)</A></STRONG>, <STRONG><A HREF="menu.3x.html">menu(3X)</A></STRONG>.
+ <B><A HREF="ncurses.3x.html">curses(3x)</A></B>, <B><A HREF="menu.3x.html">menu(3x)</A></B>.
</PRE>
<H2>NOTES</H2><PRE>
- The header file <STRONG><menu.h></STRONG> automatically includes the header
- file <STRONG><curses.h></STRONG>.
+ The header file <B><menu.h></B> automatically includes the header
+ file <B><curses.h></B>.
</PRE>
+
</PRE>
+<HR>
+<ADDRESS>
+Man(1) output converted with
+<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
+</ADDRESS>
</BODY>
</HTML>