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

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

FORMS(3)

Contents


NAME    [Toc]    [Back]

     field_init, field_term, form_init, form_term, set_field_init,
     set_field_term, set_form_init, set_form_term - form library

LIBRARY    [Toc]    [Back]

     library ``libform''

SYNOPSIS    [Toc]    [Back]

     #include <form.h>

     void (*)(FORM *)
     field_init(FORM *form);

     void (*)(FORM *)
     field_term(FORM *form);

     void (*)(FORM *)
     form_init(FORM *form);

     void (*)(FORM *)
     form_term(FORM *form);

     int
     set_field_init(FORM *form, void (*function)(FORM *));

     int
     set_field_term(FORM *form, void (*function)(FORM *));

     int
     set_form_init(FORM *form, void (*function)(FORM *));

     int
     set_form_term(FORM *form, void (*function)(FORM *));

DESCRIPTION    [Toc]    [Back]

     The field_init() function returns a pointer to the function that will be
     called just after the current field changes and just before the form is
     posted, this function may be set by using the set_field_init() function.
     Similarly, the function field_term() will return a pointer to the function
 that will be called just before the current field changes and just
     after the form is unposted, this function pointer may be set by using the
     set_field_term() function.  The form_init() function will return a
     pointer to the function that will be called just before the form is
     posted to the screen, this function can be set by calling the
     set_form_init() function.  The form_term() function will return a pointer
     to the function that will be called just after the form is unposted from
     the screen, this function may be set by using the set_form_term() function.
  By default, the init and term function pointers are NULL.

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.

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