field_attributes



field_attributes

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

NAME

form_field_attributes − color and attribute control for form fields

SYNOPSIS

#include <form.h>
int set_field_fore(FIELD *field, chtype attr);
chtype field_fore(const FIELD *field);
int set_field_back(FIELD *field, chtype attr);
chtype field_back(const FIELD *field);
int set_field_pad(FIELD *field, int pad);
int field_pad(const FIELD *field);

DESCRIPTION

The function set_field_fore sets the foreground attribute of field. This is the highlight used to display the field contents. The function field_fore returns the foreground attribute. The default is A_STANDOUT.

The function set_field_back sets the background attribute of form. This is the highlight used to display the extent fields in the form. The function field_back returns the background attribute. The default is A_NORMAL.

The function set_field_pad sets the character used to fill the field. The function field_pad returns the given form’s pad character. The default is a blank.

RETURN VALUE

These routines return one of the following:

E_OK

The routine succeeded.

E_BAD_ARGUMENT

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

E_SYSTEM_ERROR

System error occurred (see errno).

SEE ALSO

ncurses(3NCURSES) and related pages whose names begin "form_" for detailed descriptions of the entry points.

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/fdiml.3.html
fdiml(3) - positive difference (Library - Linux man page)...
These functions return the positive difference, max(x-y,0), between their arguments. RETURN VALUE On success, these functions return the positive difference. If

manpages/rresvport_af.3.html
rresvport_af(3) routines for returning a stream to a remote
The rcmd() function is used by the superuser to execute a command on a remote machine using an authentication scheme based on privileged port numbers. The rresv

manpages/git-fsck.1.html
git-fsck(1) - Verifies the connectivity and validity of the
Verifies the connectivity and validity of the objects in the database. OPTIONS &lt;object&gt; An object to treat as the head of an unreachability trace. If no objects

manpages/XtGetGC.3.html
XtGetGC(3) - obtain and destroy a sharable GC (Man Page)....
The XtGetGC function returns a sharable, read-only GC. The parameters to this function are the same as those for XCreateGC except that a widget is passed instea

manpages/testparm.1.html
testparm(1) - check an smb (Commands - Linux manual page)...
This tool is part of the samba(7) suite. testparm is a very simple test program to check an smbd(8) configuration file for internal correctness. If this program

manpages/rpc.3.html
rpc(3) - library routines for remote procedure calls........
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s

manpages/is_idcok.3ncurses.html
is_idcok(3ncurses) - curses window properties (Man Page)....
This implementation provides functions which return properties set in the WINDOW structure, allowing it to be opaque if the symbol NCURSES_OPAQUE is defined: is

manpages/splashy-config.xml.5.html
splashy-config.xml(5) - a user-mode, POSIX and LSB compliant
/etc/splashy/config.xml sets splashys behaviour during boot, shutdown inter-runlevel and error. It is an XML file where all values are enclosed in tags A tag is

manpages/dir.1.html
dir(1) - list directory contents (Commands - Linux man page)
dir.1 - List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. Mandatory

manpages/gnutls_certificate_type_set_priority.3.html
gnutls_certificate_type_set_priority(3) - API function......
Sets the priority on the certificate types supported by gnutls. Priority is higher for elements specified before others. After specifying the types you want, yo

manpages/gvfs-rm.1.html
gvfs-rm(1) Delete files (Commands - Linux manual page)......
gvfs-rm deletes each given file. The files can be specified as paths or as URIs with a scheme that is understood by gvfs. Note that not all URI schemes may allo

manpages/XkbForceBell.3.html
XkbForceBell(3) - Overrides user preference settings for aud
XkbForceBell.3 - The core X protocol allows only applications to explicitly sound the system bell with a given duration, pitch, and volume. Xkb extends this cap





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