form_field_just(3X) LIBRARY FUNCTIONS form_field_just(3X)
NAME
formfieldjust: setfieldjust, fieldjust - format the
general appearance of forms
SYNOPSIS
#include <form.h>
int setfieldjust(FIELD *field, int justification);
int fieldjust(FIELD *field);
DESCRIPTION
setfieldjust sets the justification for field. Justifica-
tion may be one of:
NOJUSTIFICATION, JUSTIFYRIGHT, JUSTIFYLEFT, or
JUSTIFYCENTER.
The field justification will be ignored if field is a
dynamic field. fieldjust returns the type of justification
assigned to field.
RETURN VALUE
fieldjust returns the one of:
NOJUSTIFICATION, JUSTIFYRIGHT, JUSTIFYLEFT, or
JUSTIFYCENTER.
set_field_just returns one of the following:
E_OK - The function returned successfully.
E_SYSTEM_ERROR - System error.
E_BAD_ARGUMENT - An argument is incorrect.
NOTES
The header file <form.h> automatically includes the header
files <eti.h> and <curses.h>.
SEE ALSO
curses(3X), forms(3X).
1