| Main index | Section 3 | Options |
#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);
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.
| 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(3)). | |
| 2024-03-16 | form_field_attributes (3X) | ncurses 6.5 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” | ” |