| FORMS(3) | Library Functions Manual | FORMS(3) |
field_just,
set_field_just — form
library
Curses Form Library (libform, -lform)
#include
<form.h>
int
field_just(FIELD
*field);
int
set_field_just(FIELD
*field, int
justification);
Field justification is only applied to static fields, a dynamic
field will not be justified. The default justification for a field is
NO_JUSTIFICATION. The
field_just()
will return the current justification value of the given field and the
justification may be set by calling the
set_field_just()
function.
The following are the valid justifications for a field:
The functions will return one of the following error values:
E_OKE_CURRENTE_BAD_ARGUMENTThe header
<form.h> automatically
includes both <curses.h> and
<eti.h>.
| January 1, 2001 | NetBSD 11.0 |