Miscellaneous Library Functions form_field_attributes(3X)
NAME
form_field_attributes - color and attribute control for form
fieldsSYNOPSIS
#include
int set_field_fore(FIELD *field, chtype attr);
chtype field_fore(const FIELD *field);
int set_field_pad(FIELD *field, int pad);
int field_pad(const FIELD *field);
The function set_field_fore sets the foreground attribute of
field. This is the highlight used to display the field con-
tents. The function field_fore returns the foreground
attribute. The default is A_STANDOUT.
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.
curses(3X) and related pages whose names begin "form_" for
detailed descriptions of the entry points. NOTES The header fileMiscellaneous Library Functions form_field_attributes(3X)
AUTHORS Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. SunOS 5.10 Last change: 2