*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> form_win (3)              
Title
Content
Arch
Section
 

FORMS(3)

Contents


NAME    [Toc]    [Back]

     form_sub, form_win, scale_form, set_form_sub, set_form_win - form library

LIBRARY    [Toc]    [Back]

     library ``libform''

SYNOPSIS    [Toc]    [Back]

     #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);

DESCRIPTION    [Toc]    [Back]

     All 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() 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.

RETURN VALUES    [Toc]    [Back]

     Functions 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 ALSO    [Toc]    [Back]

      
      
     curses(3), forms(3)

NOTES    [Toc]    [Back]

     The header <form.h> automatically includes both <curses.h> and <eti.h>.

BSD                             January 1, 2001                            BSD
[ Back ]
 Similar pages
Name OS Title
zhptrd IRIX reduce a complex Hermitian matrix A stored in packed form to real symmetric tridiagonal form T by a unitary si
chptrd IRIX reduce a complex Hermitian matrix A stored in packed form to real symmetric tridiagonal form T by a unitary si
dsptrd IRIX reduce a real symmetric matrix A stored in packed form to symmetric tridiagonal form T by an orthogonal simila
ssptrd IRIX reduce a real symmetric matrix A stored in packed form to symmetric tridiagonal form T by an orthogonal simila
form_opts_off OpenBSD set and get form options
form_opts_on OpenBSD set and get form options
form_opts_on FreeBSD set and get form options
form_opts OpenBSD set and get form options
set_form_opts OpenBSD set and get form options
form_opts_off FreeBSD set and get form options
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service