form_field_just3form
Retrieve field characteristics
Part of field_just(3form).
Usage
#include <form.h>
int set_field_just(FIELD *field, int justification);
int field_just(const FIELD *field);
Overview
The function set_field_just sets the justification attribute of a field; field_just returns a field's justification attribute. The attribute may be one of NO_JUSTIFICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER.
Return value
The function field_just returns one of: NO_JUSTIFICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER.
The function set_field_just returns one of the following:
|
The routine succeeded. |
|---|---|
|
System error occurred (see |
|
Routine detected an incorrect or out-of-range argument. |
Notes
The header file <form.h> automatically includes the header file <curses.h>.
Portability
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.
Releases
7 releases since Debian 3.0 (Woody); the text changed 4 times.