post


HOME

post

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

NAME

menu_post − write or erase menus from associated subwindows

SYNOPSIS

#include <menu.h>
int post_menu(MENU *menu);
int unpost_menu(MENU *menu);

DESCRIPTION

The function post_menu displays a menu to its associated subwindow. To trigger physical display of the subwindow, use refresh or some equivalent curses routine (the implicit doupdate triggered by an curses input request will do). post_menu resets the selection status of all items.

The function unpost_menu erases menu from its associated subwindow.

RETURN VALUE

These routines return one of the following:

E_OK

The routine succeeded.

E_SYSTEM_ERROR

System error occurred (see errno).

E_BAD_ARGUMENT

Routine detected an incorrect or out-of-range argument.

E_POSTED

The menu has already been posted.

E_BAD_STATE

Routine was called from an initialization or termination function.

E_NO_ROOM

Menu is too large for its window. You should consider to use set_menu_format() to solve the problem.

E_NOT_POSTED

The menu has not been posted.

E_NOT_CONNECTED

No items are connected to the menu.

SEE ALSO

ncurses(3NCURSES), menu(3MENU).

NOTES

The header file <menu.h> automatically includes the header file <curses.h>.

PORTABILITY

These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions.

AUTHORS

Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.




More Linux Commands

manpages/setkey.8.html
setkey(8) - manually manipulate the IPsec SA/SP database....
setkey adds, updates, dumps, or flushes Security Association Database (SAD) entries as well as Security Policy Database (SPD) entries in the kernel. setkey take

manpages/adjtimex.8.html
adjtimex(8) - display or set the kernel time variables......
This program gives you raw access to the kernel time variables. Anyone may print out the time variables, but only the superuser may change them. Your computer h

manpages/XTestCompareCursorWithWindow.3.html
XTestCompareCursorWithWindow(3) - XTest extension functions
This extension is a minimal set of client and server extensions required to completely test the X11 server with no user intervention. This extension is not inte

manpages/XSetTile.3.html
XSetTile(3) - GC convenience routines - Linux manual page...
The XSetTile function sets the fill tile in the specified GC. The tile and GC must have the same depth, or a BadMatch error results. XSetTile can generate BadAl

manpages/setmetamode.1.html
setmetamode(1) - define the keyboard meta key handling......
Without argument, setmetamode prints the current Meta key mode. With argument, it sets the Meta key mode as indicated. The setting before and after the change a

manpages/pbmminkowski.1.html
pbmminkowski(1) - compute Minkowski integral (Man Page).....
This program is part of Netpbm(1) pbmminkowski computes the 3 Minkowski integrals of a PBM image. It is similar to pgmminkowski(1) pbmminkowski.1 (Commands - Li

manpages/scalbnf.3.html
scalbnf(3) - multiply floating-point number by integral powe
These functions multiply their first argument x by FLT_RADIX (probably 2) to the power of exp, that is: x * FLT_RADIX ** exp The definition of FLT_RADIX can be

manpages/ldapmodrdn.1.html
ldapmodrdn(1) - LDAP rename entry tool - Linux manual page
ldapmodrdn is a shell-accessible interface to the ldap_rename(3) library call. ldapmodrdn opens a connection to an LDAP server, binds, and modifies the RDN of e

manpages/js_x.4.html
js_x(4) - JamStudio input driver (Special - Linux man page)
js_x is an Xorg input driver for JamStudio devices. The js_x driver functions as a pointer input device, and may be used as the X servers core pointer. SUPPORTE

manpages/XCreatePixmapFromBitmapData.3.html
XCreatePixmapFromBitmapData(3) - manipulate bitmaps.........
The XReadBitmapFile function reads in a file containing a bitmap. The file is parsed in the encoding of the current locale. The ability to read other than the s

manpages/pthread_attr_setschedparam.3.html
pthread_attr_setschedparam(3) - set/get scheduling parameter
The pthread_attr_setschedparam() function sets the scheduling parameter attributes of the thread attributes object referred to by attr to the values specified i

manpages/fmax.3.html
fmax(3) - determine maximum of two floating-point numbers...
These functions return the larger value of x and y. RETURN VALUE These functions return the maximum of x and y. If one argument is a NaN, the other argument is





We can't live, work or learn in freedom unless the software we use is free.