Query: set_form_sub
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FORMS(3) BSD Library Functions Manual FORMS(3)NAMEform_sub, form_win, scale_form, set_form_sub, set_form_win -- form libraryLIBRARYCurses Form Library (libform, -lform)SYNOPSIS#include <form.h> 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);DESCRIPTIONAll output to the screen done by the forms library is handled by the curses library routines. By default, the forms library will output to the curses 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() func- tion, 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.RETURN VALUESFunctions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following error values: E_OK The function was successful. E_NOT_CONNECTED The form has no fields connected to it. E_POSTED The form is posted to the screen.SEE ALSOcurses(3), forms(3)NOTESThe header <form.h> automatically includes both <curses.h> and <eti.h>.BSDJanuary 1, 2001 BSD
Related Man Pages |
---|
scale_form(3curses) - opensolaris |
set_form_sub(3) - netbsd |
form_sub(3curses) - sunos |
set_form_sub(3curses) - sunos |
set_form_win(3curses) - sunos |
Similar Topics in the Unix Linux Community |
---|
int.lst forms |
Open Tax Solver 5.04 (Default branch) |
Open Tax Solver 5.07 (Default branch) |
Open Tax Solver 6.00 (Default branch) |
Open Tax Solver 6.01 (Default branch) |