]> ncurses.scripts.mit.edu Git - ncurses.git/blob - doc/html/man/form_field_just.3x.html
1643c44941011c37b4c63c425a3ceee524d78994
[ncurses.git] / doc / html / man / form_field_just.3x.html
1 <HTML>
2 <BODY>
3 <PRE>
4 <!-- Manpage converted by man2html 3.0.1 -->
5
6 </PRE>
7 <H2>NAME</H2><PRE>
8        <B>form_field_just</B> - retrieve field characteristics
9
10
11 </PRE>
12 <H2>SYNOPSIS</H2><PRE>
13        <B>#include</B> <B>&lt;form.h&gt;</B>
14        int set_field_just(FIELD *field, int justification);
15        int field_just(const FIELD *field);
16
17
18 </PRE>
19 <H2>DESCRIPTION</H2><PRE>
20        The   function   <B>set_field_just</B>   sets  the  justification
21        attribute of a field; <B>field_just</B> returns a field's  justi-
22        fication attribute.  The attribute may be one of NO_JUSTI-
23        FICATION, JUSTIFY_RIGHT, JUSTIFY_LEFT, or  JUSTIFY_CENTER.
24
25
26
27 </PRE>
28 <H2>RETURN VALUE</H2><PRE>
29        The  function <B>field_just</B> returns one of: NO_JUSTIFICATION,
30        JUSTIFY_RIGHT, JUSTIFY_LEFT, or JUSTIFY_CENTER.
31
32        The function <B>set_field_just</B> return one of the following:
33
34        <B>E_OK</B> The routine succeeded.
35
36        <B>E_SYSTEM_ERROR</B>
37             System error occurred (see <B>errno</B>).
38
39        <B>E_BAD_ARGUMENT</B>
40             Routine detected an incorrect or  out-of-range  argu-
41             ment.
42
43
44 </PRE>
45 <H2>SEE ALSO</H2><PRE>
46        <B><A HREF="ncurses.3x.html">curses(3x)</A></B>  and  3x  pages  whose  names begin "form_" for
47        detailed descriptions of the entry points.
48
49
50 </PRE>
51 <H2>NOTES</H2><PRE>
52        The header file <B>&lt;form.h&gt;</B> automatically includes the header
53        file <B>&lt;curses.h&gt;</B>.
54
55
56 </PRE>
57 <H2>PORTABILITY</H2><PRE>
58        These  routines  emulate the System V forms library.  They
59        were not supported on Version 7 or BSD versions.
60
61
62 </PRE>
63 <H2>AUTHORS</H2><PRE>
64        Juergen Pfeifer.  Manual  pages  and  adaptation  for  new
65        curses by Eric S. Raymond.
66
67
68
69
70
71
72
73
74
75 </PRE>
76 <HR>
77 <ADDRESS>
78 Man(1) output converted with
79 <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
80 </ADDRESS>
81 </BODY>
82 </HTML>