Amiga Unix — 68040 · 68060

Manual pages › X Window and screen libraries (3X)

form_f_just(3X)

format the general appearance of forms

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

form_field_just: set_field_just, field_just - format the general appearance of forms

SYNOPSIS

#include <form.h>

int set_field_just(FIELD *field, int justification);

int field_just(FIELD *field);

DESCRIPTION

set_field_just sets the justification for field.  Justifica-
tion may be one of:
     NO_JUSTIFICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or
     JUSTIFY_CENTER.
The field justification  will  be  ignored  if  field  is  a
dynamic field.  field_just returns the type of justification
assigned to field.

RETURN VALUE

field_just returns the one of:
     NO_JUSTIFICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or
     JUSTIFY_CENTER.
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).