2 .TH form_field_attributes 3X ""
4 \fBform_field_attributes\fR - color and attribute control for form fields
6 \fB#include <form.h>\fR
8 int set_field_fore(FIELD *field, chtype attr);
10 chtype field_fore(const FIELD *field);
12 int set_field_back(FIELD *field, chtype attr);
14 chtype field_back(const FIELD *field);
16 int set_field_pad(FIELD *field, int pad);
18 chtype field_pad(const FIELD *field);
21 The function \fBset_field_fore\fR sets the foreground attribute of
22 \fIfield\fR. This is the highlight used to display the field contents. The
23 function \fBfield_fore\fR returns the foreground attribute. The default is
26 The function \fBset_field_back\fR sets the background attribute of
27 \fIform\fR. This is the highlight used to display the extent fields in the
28 form. The function \fBfield_back\fR returns the background attribute. The
29 default is \fBA_NORMAL\fR.
31 The function \fBset_field_pad\fR sets the character used to fill the field.
32 The function \fBfield_pad\fR returns the given form's pad character. The
35 These routines return one of the following:
38 The routine succeeded.
41 System error occurred (see \fBerrno\fR).
44 Routine detected an incorrect or out-of-range argument.
46 \fBcurses\fR(3X) and 3X pages whose names begin "form_" for detailed
47 descriptions of the entry points.
49 The header file \fB<form.h>\fR automatically includes the header file
52 These routines emulate the System V forms library. They were not supported on
53 Version 7 or BSD versions.
55 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
58 .\"# The following sets edit modes for GNU EMACS