]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Ada95/html/form_post.3x.html
ncurses 4.1
[ncurses.git] / Ada95 / html / form_post.3x.html
1 <HTML>
2 <BODY BGCOLOR="#99ccbb" TEXT="#000000" LINK="#4060b0" VLINK="#000080" ALINK="#ff4040">
3 <PRE>
4        <STRONG>form_post</STRONG>  -  write or erase forms from associated subwin-
5        dows
6
7
8 </PRE>
9 <H2>SYNOPSIS</H2><PRE>
10        <STRONG>#include</STRONG> <STRONG>&lt;form.h&gt;</STRONG>
11        int post_form(FORM *form);
12        int unpost_form(FORM *form);
13
14
15 </PRE>
16 <H2>DESCRIPTION</H2><PRE>
17        The function <STRONG>post_form</STRONG> displays a form to  its  associated
18        subwindow.   To trigger physical display of the subwindow,
19        use  <STRONG>refresh</STRONG>  or  some  equivalent  <STRONG>curses</STRONG>  routine   (the
20        implicit  <STRONG>doupdate</STRONG>  triggered  by  an <STRONG>curses</STRONG> input request
21        will do).
22
23        The function <STRONG>unpost_form</STRONG> erases form from  its  associated
24        subwindow.
25
26
27 </PRE>
28 <H2>RETURN VALUE</H2><PRE>
29        These routines return one of the following:
30
31        <STRONG>E_OK</STRONG> The routine succeeded.
32
33        <STRONG>E_SYSTEM_ERROR</STRONG>
34             System error occurred (see <STRONG>errno</STRONG>).
35
36        <STRONG>E_BAD_ARGUMENT</STRONG>
37             Routine  detected  an incorrect or out-of-range argu-
38             ment.
39
40        <STRONG>E_POSTED</STRONG>
41             The form has already been posted.
42
43        <STRONG>E_BAD_STATE</STRONG>
44             Routine was called from an initialization or termina-
45             tion function.
46
47        <STRONG>E_NO_ROOM</STRONG>
48             Form is too large for its window.
49
50        <STRONG>E_NOT_POSTED</STRONG>
51             The form has not been posted.
52
53        <STRONG>E_NOT_CONNECTED</STRONG>
54             No items are connected to the form.
55
56
57 </PRE>
58 <H2>SEE ALSO</H2><PRE>
59        <STRONG><A HREF="ncurses.3x.html">curses(3X)</A></STRONG>, <STRONG><A HREF="form.3x.html">form(3X)</A></STRONG>.
60
61
62 </PRE>
63 <H2>NOTES</H2><PRE>
64        The header file <STRONG>&lt;form.h&gt;</STRONG> automatically includes the header
65        file <STRONG>&lt;curses.h&gt;</STRONG>.
66        These routines emulate the System V forms  library.   They
67        were not supported on Version 7 or BSD versions.
68
69
70 </PRE>
71 <H2>AUTHORS</H2><PRE>
72        Juergen  Pfeifer.   Manual  pages  and  adaptation for new
73        curses by Eric S. Raymond.
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120 </PRE>
121 </BODY>
122 </HTML>