field


HOME

field

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

NAME

form_field − make and break connections between fields and forms

SYNOPSIS

#include <form.h>
int set_form_fields(FORM *form, FIELD **fields);
FIELD **form_fields(const FORM *form);
int field_count(const FORM *form);
int move_field(FIELD *field, int frow, int fcol);

DESCRIPTION

The function set_form_fields changes the field pointer array of the given form. The array must be terminated by a NULL.

The function form_fields returns the field array of the given form.

The function field_count returns the count of fields in form.

The function move_field moves the given field (which must be disconnected) to a specified location on the screen.

RETURN VALUE

The function form_fields returns a pointer (which may be NULL). It does not set errno.

The function field_count returns ERR if the form parameter is NULL.

The functions set_form_fields and move_field return one of the following codes on error:

E_OK

The routine succeeded.

E_BAD_ARGUMENT

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

E_CONNECTED

The field is already connected to a form.

E_POSTED

The form is already posted.

E_SYSTEM_ERROR

System error occurred (see errno).

SEE ALSO

ncurses(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.

The SVr4 forms library documentation specifies the field_count error value as −1 (which is the value of ERR).

AUTHORS

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




More Linux Commands

manpages/platform_shell.n.html
platform_shell(n) System identification support code and uti
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell. This package allows the

manpages/xsetwacom.1.html
xsetwacom(1) - commandline utility to query and modify wacom
This program queries or changes properties on the devices loaded by the wacom driver. The modification of properties happens at runtime and is not persistent th

manpages/Tk_GetColorFromObj.3.html
Tk_GetColorFromObj(3) - maintain database of colors.........
These procedures manage the colors being used by a Tk application. They allow colors to be shared whenever possible, so that colormap space is preserved, and th

manpages/gluDeleteTess.3gl.html
gluDeleteTess(3gl) - destroy a tessellation object (ManPage)
gluDeleteTess destroys the indicated tessellation object (which was created with gluNewTess) and frees any memory that it used. SEE ALSO gluBeginPolygon(3G), gl

manpages/TAP::Parser::Iterator::Array.3pm.html
TAP::Parser::Iterator::Array(3pm) - Iterator for array-based
This is a simple iterator wrapper for arrays of scalar content, used by TAP::Parser. Unless youre writing a plugin or subclassing, you probably wont need to use

manpages/iso-8859-9.7.html
iso-8859-9(7) - ISO 8859-9 character set encoded in octal, d
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-9, also known as the Latin Alphabet No.

manpages/glMapGrid2f.3gl.html
glMapGrid2f(3gl) - define a one- or two-dimensional mesh....
glMapGrid and glEvalMesh are used together to efficiently generate and evaluate a series of evenly-spaced map domain values. glEvalMesh steps through the intege

manpages/lsblk.8.html
lsblk(8) - list block devices (Admin - Linux man page)......
lsblk lists information about all available or the specified block devices. The lsblk command reads the sysfs filesystem to gather information. The command prin

manpages/ldap_extended_operation.3.html
ldap_extended_operation(3) - Extends the LDAP operations to
The ldap_extended_operation_s() routine is used to synchronously perform an LDAP extended operation. It takes requestoid, which points to a dotted-decimal OID s

manpages/hzip.1.html
hzip(1) - compress and encrypt dictionary files (Man Page)
hunzip is a small utility for text file compression and encryption, especially for sorted dictionaries. hunspell filename creates the compressed file filename.h

manpages/Ttk_PackBox.3.html
Ttk_PackBox(3) - Tk themed geometry utilities (Man Page)....
The Ttk_Box structure represents a rectangular region of a window: typedef struct { int x; int y; int width; int height; } Ttk_Box; All coordinates are relative

manpages/l2ping.8.html
l2ping(8) - Send L2CAP echo request and receive answer......
l2ping.8 - L2ping sends a L2CAP echo request to the Bluetooth MAC address bd_addr given in dotted hex notation. OPTIONS -i &lt;hciX&gt; The command is applied to devi





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