]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Ada95/html/man/form_field_just.3x.html
ncurses 5.0
[ncurses.git] / Ada95 / html / man / form_field_just.3x.html
1 <HTML>
2 <BODY>
3 <PRE>
4        <STRONG>form_field_just</STRONG> - retrieve field characteristics
5
6
7 </PRE>
8 <H2>SYNOPSIS</H2><PRE>
9        <STRONG>#include</STRONG> <STRONG><form.h></STRONG>
10        int set_field_just(FIELD *field, int justification);
11        int field_just(const FIELD *field);
12
13
14 </PRE>
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.
20
21
22
23 </PRE>
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.
27
28        The function <STRONG>set_field_just</STRONG> return one of the following:
29
30        <STRONG>E_OK</STRONG> The routine succeeded.
31
32        <STRONG>E_SYSTEM_ERROR</STRONG>
33             System error occurred (see <STRONG>errno</STRONG>).
34
35        <STRONG>E_BAD_ARGUMENT</STRONG>
36             Routine detected an incorrect or  out-of-range  argu-
37             ment.
38
39
40 </PRE>
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.
44
45
46 </PRE>
47 <H2>NOTES</H2><PRE>
48        The header file <STRONG><form.h></STRONG> automatically includes the header
49        file <STRONG><curses.h></STRONG>.
50
51
52 </PRE>
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.
56
57
58 </PRE>
59 <H2>AUTHORS</H2><PRE>
60        Juergen Pfeifer.  Manual  pages  and  adaptation  for  new
61        curses by Eric S. Raymond.
62
63
64
65
66
67
68
69
70 </PRE>
71 </BODY>
72 </HTML>