Curses Library Functions formfieldjust(3CURSES)
NAME
formfieldjust, setfieldjust, fieldjust - format the
general appearance of forms
SYNOPSIS
cc [ flag... ] file... -lform -lcurses [ library... ]
#include
int setfieldjust(FIELD *field, int justification);
int fieldjust(FIELD *field);
DESCRIPTION
The setfieldjust() function sets the justification for
field. Justification can be one of:
NOJUSTIFICATION
JUSTIFYRIGHT
JUSTIFYLEFT
JUSTIFYCENTER
The field justification is ignored if field is a dynamic
field.
The fieldjust() function returns the type of justification
assigned to field.
RETURN VALUES
The fieldjust() function returns one of the following:
NOJUSTIFICATION
JUSTIFYRIGHT
JUSTIFYLEFT
JUSTIFYCENTER
The setfieldjust() function returns one of the following:
EOK The function returned successfully.
ESYSTEMEROR System error.
EBADARGUMENT An argument is incorrect.
SunOS 5.11 Last change: 31 Dec 1996 1
Curses Library Functions formfieldjust(3CURSES)
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Unsafe
SEE ALSO
curses(3CURSES), forms(3CURSES), attributes(5)
NOTES
The header automatically includes the headers
and .
SunOS 5.11 Last change: 31 Dec 1996 2
|