4 <STRONG>form_field_just</STRONG> - retrieve field characteristics
9 <STRONG>#include</STRONG> <STRONG><form.h></STRONG>
10 int set_field_just(FIELD *field, int justification);
11 int field_just(const FIELD *field);
15 <H2>DESCRIPTION</H2><PRE>
16 The function <STRONG>set_field_just</STRONG> sets the justification
17 attribute of a field; <STRONG>field_just</STRONG> returns a field's justi-
18 fication attribute. The attribute may be one of NO_JUSTI-
19 FICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER.
24 <H2>RETURN VALUE</H2><PRE>
25 The function <STRONG>field_just</STRONG> returns one of: NO_JUSTIFICATION,
26 JUSTIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER.
28 The function <STRONG>set_field_just</STRONG> return one of the following:
30 <STRONG>E_OK</STRONG> The routine succeeded.
32 <STRONG>E_SYSTEM_ERROR</STRONG>
33 System error occurred (see <STRONG>errno</STRONG>).
35 <STRONG>E_BAD_ARGUMENT</STRONG>
36 Routine detected an incorrect or out-of-range argu-
41 <H2>SEE ALSO</H2><PRE>
42 <STRONG><A HREF="ncurses.3x.html">curses(3X)</A></STRONG> and 3X pages whose names begin "form_" for
43 detailed descriptions of the entry points.
48 The header file <STRONG><form.h></STRONG> automatically includes the header
49 file <STRONG><curses.h></STRONG>.
53 <H2>PORTABILITY</H2><PRE>
54 These routines emulate the System V forms library. They
55 were not supported on Version 7 or BSD versions.
60 Juergen Pfeifer. Manual pages and adaptation for new
61 curses by Eric S. Raymond.