2 .\" $OpenBSD: form_field_just.3,v 1.9 2010/01/12 23:22:07 nicm Exp $
4 .\"***************************************************************************
5 .\" Copyright (c) 1998-2003,2006 Free Software Foundation, Inc. *
7 .\" Permission is hereby granted, free of charge, to any person obtaining a *
8 .\" copy of this software and associated documentation files (the *
9 .\" "Software"), to deal in the Software without restriction, including *
10 .\" without limitation the rights to use, copy, modify, merge, publish, *
11 .\" distribute, distribute with modifications, sublicense, and/or sell *
12 .\" copies of the Software, and to permit persons to whom the Software is *
13 .\" furnished to do so, subject to the following conditions: *
15 .\" The above copyright notice and this permission notice shall be included *
16 .\" in all copies or substantial portions of the Software. *
18 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
19 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
20 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
21 .\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
22 .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
23 .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
24 .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
26 .\" Except as contained in this notice, the name(s) of the above copyright *
27 .\" holders shall not be used in advertising or otherwise to promote the *
28 .\" sale, use or other dealings in this Software without prior written *
30 .\"***************************************************************************
32 .\" $Id: form_field_just.3,v 1.9 2010/01/12 23:22:07 nicm Exp $
33 .TH form_field_just 3 ""
35 \fBform_field_just\fR - retrieve field characteristics
37 \fB#include <form.h>\fR
39 int set_field_just(FIELD *field, int justification);
41 int field_just(const FIELD *field);
44 The function \fBset_field_just\fR sets the justification attribute of
45 a field; \fBfield_just\fR returns a field's justification attribute.
46 The attribute may be one of NO_JUSTIFICATION, JUSTIFY_RIGHT,
47 JUSTIFY_LEFT, or JUSTIFY_CENTER.
50 The function \fBfield_just\fR returns one of: NO_JUSTIFICATION,
51 JUSTIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER.
53 The function \fBset_field_just\fR returns one of the following:
56 The routine succeeded.
59 System error occurred (see \fBerrno\fR).
62 Routine detected an incorrect or out-of-range argument.
64 \fBcurses\fR(3) and related pages whose names begin "form_" for detailed
65 descriptions of the entry points.
67 The header file \fB<form.h>\fR automatically includes the header file
70 These routines emulate the System V forms library. They were not supported on
71 Version 7 or BSD versions.
73 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
76 .\"# The following sets edit modes for GNU EMACS