form_hook − set hooks for automatic invocation by applications
int set_field_init(FORM *form, Form_Hook func);
Form_Hook field_init(const FORM *form);
int set_field_term(FORM *form, Form_Hook func);
Form_Hook field_term(const FORM *form);
int set_form_init(FORM *form, Form_Hook func);
Form_Hook form_init(const FORM *form);
int set_form_term(FORM *form, Form_Hook func);
Form_Hook form_term(const FORM *form);
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by form_driver.
The function set_field_init sets a hook to be called at form-post time and each time the selected field changes (after the change). field_init returns the current field init hook, if any (NULL if there is no such hook).
The function set_field_term sets a hook to be called at form-unpost time and each time the selected field changes (before the change). field_term returns the current field term hook, if any (NULL if there is no such hook).
The function set_form_init sets a hook to be called at form-post time and just after a page change once it is posted. form_init returns the current form init hook, if any (NULL if there is no such hook).
The function set_form_term sets a hook to be called at form-unpost time and just before a page change once it is posted. form_init returns the current form term hook, if any (NULL if there is no such hook).
Routines that return pointers return NULL on error. Other routines return one of the following:
The routine succeeded.
System error occurred (see errno).
The header file <form.h> automatically includes the header file <curses.h>.
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
More Linux Commands
path_resolution(7) - how a pathname is resolved to a file...
Some UNIX/Linux system calls have as parameter one or more filenames. A filename (or pathname) is resolved as follows. Step 1: start of the resolution process I
Tcl_GetDoubleFromObj(3) - manipulate Tcl objects as floating
These procedures are used to create, modify, and read Tcl objects that hold double-precision floating-point values. Tcl_NewDoubleObj creates and returns a new T
gnutls_db_remove_session(3) - API function - Linux man page
This function will remove the current session data from the session database. This will prevent future handshakes reusing these session data. This function shou
XcmsRGBi(3) - Xcms color structure - Linux manual page......
The XcmsColor structure contains a union of substructures, each supporting color specification encoding for a particular color space. SEE ALSO XcmsAllocColor(3)
c2ph(1) - Dump C structures as generated from "cc -g -S" sta
The following is the old c2ph.doc documentation by Tom Christiansen <email@example.com> Date: 25 Jul 91 08:10:21 GMT Once upon a time, I wrote a program called p
Tcl_LogCommandInfo(3) - retrieve or record information about
The Tcl_SetReturnOptions and Tcl_GetReturnOptions routines expose the &#9474; same capabilities as the return and catch commands, respectively, in &#9474; the f
glutStrokeWidth(3) - (unknown subject) - Linux manual page
glutStrokeWidth returns the width in modeling units of a stroke character in a supported stroke font. While the width of characters in a font may vary (though f
lrintf(3) - round to nearest integer - Linux manual page....
These functions round their argument to the nearest integer value, using the current rounding direction (see fesetround(3)). Note that unlike the rint(3) family
sane-usb(5) - USB configuration tips for SANE (Man Page)....
This manual page contains information on how to access scanners with a USB interface. It focusses on two main topics: getting the scanner detected by the operat
envz_add(3) - environment string support - Linux man page...
These functions are glibc-specific. An argz vector is a pointer to a character buffer together with a length, see argz_add(3). An envz vector is a special argz
pos_menu_cursor(3menu) - position a menu's cursor (ManPage)
pos_menu_cursor.3menu - The function pos_menu_cursor restores the cursor to the current position associated with the menus selected item. This is useful after c
xzdiff(1) - compare compressed files - Linux manual page....
xzcmp and xzdiff invoke cmp(1) or diff(1) on files compressed with xz(1), lzma(1), gzip(1), or bzip2(1). All options specified are passed directly to cmp(1) or