win



win

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

NAME

form_win − make and break form window and subwindow associations

SYNOPSIS

#include <form.h>
int set_form_win(FORM *form, WINDOW *win);
WINDOW *form_win(const FORM *form);
int set_form_sub(FORM *form, WINDOW *sub);
WINDOW *form_sub(const FORM *form);
int scale_form(const FORM *form, int *rows, int *columns);

DESCRIPTION

Every form has an associated pair of curses windows. The form window displays any title and border associated with the window; the form subwindow displays the items of the form that are currently available for selection.

The first four functions get and set those windows. It is not necessary to set either window; by default, the driver code uses stdscr for both.

In the set_ functions, window argument of NULL is treated as though it were stsdcr. A form argument of NULL is treated as a request to change the system default form window or subwindow.

The function scale_form returns the minimum size required for the subwindow of form.

RETURN VALUE

Routines that return pointers return NULL on error. Routines that return an integer return one of the following error codes:

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 form has already been posted.

E_NOT_CONNECTED

No items are connected to the form.

SEE ALSO

ncurses(3NCURSES), curses_variables(3NCURSES), form(3FORM).

NOTES

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

PORTABILITY

These routines emulate the System V forms 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/ldd.1.html
ldd(1) - print shared library dependencies - Linux man page
ldd prints the shared libraries required by each program or shared library specified on the command line. Security In the usual case, ldd invokes the standard d

manpages/latin4.7.html
latin4(7) - ISO 8859-4 character set encoded in octal, decim
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-4 encodes the characters used in Scandi

manpages/dmsetup.8.html
dmsetup(8) - low level logical volume management (Man Page)
dmsetup manages logical devices that use the device-mapper driver. Devices are created by loading a table that specifies a target for each sector (512 bytes) in

manpages/newpad_sp.3ncurses.html
newpad_sp(3ncurses) - curses screen-pointer extension.......
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

manpages/Cyrus::IMAP::Shell.3pm.html
Cyrus::IMAP::Shell(3pm) - Perl version of cyradm (Man Page)
Cyrus::IMAP::Shell.3pm - This module implements cyradm in Perl. It is a shell around Cyrus::IMAP::Admin. Commands are provided in both Tcl-compatible forms and

manpages/fallocate.1.html
fallocate(1) - preallocate space to a file - Linux man page
fallocate is used to manipulate the allocated disk space for a file, either to deallocate or preallocate it. For filesystems which support the fallocate system

manpages/Mail::SPF::Request.3pm.html
Mail::SPF::Request(3pm) - SPF request class - Linux man page
An object of class Mail::SPF::Request represents an SPF request. Constructors The following constructors are provided: new(%options): returns Mail::SPF::Request

manpages/fwide.3.html
fwide(3) - set and determine the orientation of a FILE strea
When mode is zero, the fwide() function determines the current orientation of stream. It returns a positive value if stream is wide-character oriented, that is,

manpages/gnutls_hmac_deinit.3.html
gnutls_hmac_deinit(3) - API function - Linux manual page....
This function will deinitialize all resources occupied by the given hmac context. SINCE 2.10.0 REPORTING BUGS Report bugs to &lt;bug-gnutls@gnu.org&gt;. GnuTLS home p

manpages/auparse_get_num_records.3.html
auparse_get_num_records(3) - get the number of records......
auparse_get_num_records gets the number of records in the current event. RETURN VALUE Returns 0 if an error occurs; otherwise, the number of records. SEE ALSO a

manpages/Tcl_FSFileAttrsSet.3.html
Tcl_FSFileAttrsSet(3) - procedures to interact with any file
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta

manpages/gpm.8.html
gpm(8) - a cut and paste utility and mouse server for virtua
This package tries to be a useful mouse server for applications running on the Linux console. It is based on the selection package, and some of its code comes f





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