1form_field_just(3CURSES)   Curses Library Functions   form_field_just(3CURSES)
2
3
4

NAME

6       form_field_just,   set_field_just,  field_just  -  format  the  general
7       appearance of forms
8

SYNOPSIS

10       cc [ flag... ] file... -lform  -lcurses  [ library... ]
11       #include <form.h>
12
13
14
15       int set_field_just(FIELD *field, int justification);
16
17
18       int field_just(FIELD *field);
19
20

DESCRIPTION

22       The set_field_just() function sets the justification for field.  Justi‐
23       fication can be one of:
24         NO_JUSTIFICATION
25         JUSTIFY_RIGHT
26         JUSTIFY_LEFT
27         JUSTIFY_CENTER
28
29
30       The field justification is ignored if field is a dynamic field.
31
32
33       The field_just() function returns the type of justification assigned to
34       field.
35

RETURN VALUES

37       The field_just() function returns one of the following:
38         NO_JUSTIFICATION
39         JUSTIFY_RIGHT
40         JUSTIFY_LEFT
41          JUSTIFY_CENTER
42
43
44       The set_field_just() function returns one of the following:
45
46       E_OK              The function returned successfully.
47
48
49       E_SYSTEM_ERROR    System error.
50
51
52       E_BAD_ARGUMENT    An argument is incorrect.
53
54

ATTRIBUTES

56       See attributes(5) for descriptions of the following attributes:
57
58
59
60
61       ┌─────────────────────────────┬─────────────────────────────┐
62       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
63       ├─────────────────────────────┼─────────────────────────────┤
64       │MT-Level                     │Unsafe                       │
65       └─────────────────────────────┴─────────────────────────────┘
66

SEE ALSO

68       curses(3CURSES), forms(3CURSES), attributes(5)
69

NOTES

71       The header <form.h> automatically includes  the  headers   <eti.h>  and
72       <curses.h>.
73
74
75
76SunOS 5.11                        31 Dec 1996         form_field_just(3CURSES)
Impressum