4 \fBmenu_post\fR - write or erase menus from associated subwindows
6 \fB#include <menu.h>\fR
8 int post_menu(MENU *menu);
10 int unpost_menu(MENU *menu);
13 The function \fBpost_menu\fR displays a menu to its associated subwindow. To
14 trigger physical display of the subwindow, use \fBrefresh\fR or some equivalent
15 \fBcurses\fR routine (the implicit \fBdoupdate\fR triggered by an \fBcurses\fR
16 input request will do). \fBpost_menu\fR resets the selection status of all items.
18 The function \fBunpost_menu\fR erases menu from its associated subwindow.
20 These routines return one of the following:
23 The routine succeeded.
26 System error occurred (see \fBerrno\fR).
29 Routine detected an incorrect or out-of-range argument.
32 The menu has already been posted.
35 Routine was called from an initialization or termination function.
38 Menu is too large for its window. You should consider to use
39 \fBset_menu_format()\fR to solve the problem.
42 The menu has not been posted.
45 No items are connected to the menu.
47 \fBcurses\fR(3X), \fBmenu\fR(3X).
49 The header file \fB<menu.h>\fR automatically includes the header file
52 These routines emulate the System V menu library. They were not supported on
53 Version 7 or BSD versions.
55 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
58 .\"# The following sets edit modes for GNU EMACS