4 <!-- Manpage converted by man2html 3.0.1 -->
8 <B>menu_post</B> - write or erase menus from associated subwin-
13 <H2>SYNOPSIS</H2><PRE>
14 <B>#include</B> <B><menu.h></B>
15 int post_menu(MENU *menu);
16 int unpost_menu(MENU *menu);
20 <H2>DESCRIPTION</H2><PRE>
21 The function <B>post_menu</B> displays a menu to its associated
22 subwindow. To trigger physical display of the subwindow,
23 use <B>refresh</B> or some equivalent <B>curses</B> routine (the
24 implicit <B>doupdate</B> triggered by an <B>curses</B> input request
25 will do). <B>post_menu</B> resets the selection status of all
28 The function <B>unpost_menu</B> erases menu from its associated
33 <H2>RETURN VALUE</H2><PRE>
34 These routines return one of the following:
36 <B>E_OK</B> The routine succeeded.
39 System error occurred (see <B>errno</B>).
42 Routine detected an incorrect or out-of-range argu-
46 The menu has already been posted.
49 Routine was called from an initialization or termina-
53 Menu is too large for its window. You should consider
54 to use <B>set_menu_format()</B> to solve the problem.
57 The menu has not been posted.
59 <B>E_NOT_CONNECTED</B>
60 No items are connected to the menu.
64 <H2>SEE ALSO</H2><PRE>
65 <B><A HREF="ncurses.3x.html">curses(3x)</A></B>, <B><A HREF="menu.3x.html">menu(3x)</A></B>.
70 The header file <B><menu.h></B> automatically includes the header
71 file <B><curses.h></B>.
75 <H2>PORTABILITY</H2><PRE>
76 These routines emulate the System V menu library. They
77 were not supported on Version 7 or BSD versions.
82 Juergen Pfeifer. Manual pages and adaptation for new
83 curses by Eric S. Raymond.
132 Man(1) output converted with
133 <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>