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

NAME

6       form_post,  post_form,  unpost_form - write or erase forms from associ‐
7       ated subwindows
8

SYNOPSIS

10       cc [ flag... ] file... -lform  -lcurses  [ library... ]
11       #include <form.h>
12
13
14
15       int post_form(FORM *form);
16
17
18       int unpost_form(FORM *form);
19
20

DESCRIPTION

22       post_form() writes form into its associated subwindow. The  application
23       programmer must use curses library routines  to display the form on the
24       physical screen or call update_panels() if the panels library is  being
25       used.
26
27
28       unpost_form() erases form from its associated subwindow.
29

RETURN VALUES

31       These routines return one of the following:
32
33       E_OK                The function returned successfully.
34
35
36       E_SYSTEM_ERROR      System error.
37
38
39       E_BAD_ARGUMENT      An argument is incorrect.
40
41
42       E_POSTED            The form is posted.
43
44
45       E_NOT_POSTED        The form is not posted.
46
47
48       E_NO_ROOM           The form does not fit in the subwindow.
49
50
51       E_BAD_STATE         The  routine  was called from an     initialization
52                           or termination function.
53
54
55       E_NOT_CONNECTED     The field is not connected to a form.
56
57

ATTRIBUTES

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

SEE ALSO

71       curses(3CURSES),    forms(3CURSES),     panel_update(3CURSES),     pan‐
72       els(3CURSES), attributes(5)
73

NOTES

75       The  header  <form.h>  automatically  includes the headers  <eti.h> and
76       <curses.h>.
77
78
79
80SunOS 5.11                        31 Dec 1996               form_post(3CURSES)
Impressum