[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    form_field_just(3X) manual page Table of Contents

Name

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

Synopsis

cc [ flag ... ] file ... -lform -lcurses [ library .. ]

#include <form.h>

int set_field_just(FIELD *field, int justification);

int field_just(FIELD *field);

MT-Level

Unsafe

Description

set_field_just() sets the justification for field. Justification 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 Values

field_just() returns one of the following:

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.

See Also

curses(3X) , forms(3X)

Notes

The header <form.h> automatically includes the headers <eti.h> and <curses.h>.


Table of Contents