WINDOW
*
form_sub(
FORM *form
)
WINDOW
*
form_win(
FORM *form
)
int
scale_form(
FORM *form
, int *rows
, int *cols
)
int
set_form_sub(
FORM *form
, WINDOW *window
)
int
set_form_win(
FORM *form
, WINDOW *window
)
stdscr
,
but if the forms window has been set via
set_form_win(
)
then output will be sent to the window specified by
set_form_win(
),
unless the forms subwindow has been set using
set_form_sub(
).
If a subwindow has been specified using
set_form_sub(
)
then it will be used by the forms library to for screen output.
The current setting for the form window can be retrieved by calling
form_win(
).
If the forms window has not been set then
NULL
will be returned.
Similarly, the forms subwindow can be found by calling the
form_sub(
)
function, again, if the subwindow has not been set then
NULL
will be
returned.
The
scale_form(
)
function will return the minimum number of rows and columns that will
entirely contain the given form.
NULL
if an error is detected.
The functions that return an int will return one of the following error
values:
E_OK
E_NOT_CONNECTED
E_POSTED
form.h
>
automatically includes both
<
curses.h
>
and
<
eti.h
>.