X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fform_driver.3x.html;h=019ff20ab30cb42ece6fedcc46182ff9a45fa8e0;hb=74433bcf4f6fe40862a28f3c00edaedcd5054b01;hp=3d7988baa120a465eb0f7f9a809def9d66c4571b;hpb=ed646e3f683083e787c6ba773364401dc9fa9d40;p=ncurses.git diff --git a/doc/html/man/form_driver.3x.html b/doc/html/man/form_driver.3x.html index 3d7988ba..019ff20a 100644 --- a/doc/html/man/form_driver.3x.html +++ b/doc/html/man/form_driver.3x.html @@ -1,6 +1,7 @@ -
- +#include <form.h> + int form_driver(FORM *form, int c); int form_driver_w(FORM *form, int c, wchar_t wch); @@ -66,26 +68,26 @@ and character codes returned by wgetch(3x). o The input is a printable character. Printable characters (which - must be positive, less than 256) are checked according to the pro- - gram's locale settings. + must be positive, less than 256) are checked according to the + program's locale settings. o The input is the KEY_MOUSE special key associated with an mouse event.
- This extension simplifies the use of the forms library using wide char- - acters. The input is either a key code (a request) or a wide character - returned by get_wch(3x). The type must be passed as well, to enable - the library to determine whether the parameter is a wide character or a - request. + This extension simplifies the use of the forms library using wide + characters. The input is either a key code (a request) or a wide + character returned by get_wch(3x). The type must be passed as well, to + enable the library to determine whether the parameter is a wide + character or a request.
The form driver requests are as follows: - Name Description - ------------------------------------------------------------------------- + Name Description + --------------------------------------------------------------------- REQ_BEG_FIELD Move to the beginning of the field. REQ_BEG_LINE Move to the beginning of the line. REQ_CLR_EOF Clear to end of field from cursor. @@ -110,8 +112,8 @@ REQ_LEFT_FIELD Move left to a field. REQ_NEW_LINE Insert or overlay a new line. REQ_NEXT_CHAR Move to the next char. - REQ_NEXT_CHOICE Display next field choice. + REQ_NEXT_CHOICE Display next field choice. REQ_NEXT_FIELD Move to the next field. REQ_NEXT_LINE Move to the next line. REQ_NEXT_PAGE Move to the next page. @@ -208,8 +210,8 @@ that field and E_UNKNOWN_COMMAND is returned. This return value makes sense, because a double click usually means that an field- specific action should be returned. It is exactly the purpose - of this return value to signal that an application specific com- - mand should be executed. + of this return value to signal that an application specific + command should be executed. o If a translation into a request was done, form_driver returns the result of this request. @@ -243,19 +245,22 @@ E_INVALID_FIELD Contents of field is invalid. + E_NOT_CONNECTED + No fields are connected to the form. + E_REQUEST_DENIED The form driver could not process the request. E_SYSTEM_ERROR - System error occurred (see errno). + System error occurred (see errno(3)). E_UNKNOWN_COMMAND The form driver code saw an unknown request code.
- curses(3x), form(3x), form_field_buffer(3x), form_field_validation(3x), - form_fieldtype(3x), form_variables(3x), getch(3x). + curses(3x), form(3x), form_fieldtype(3x), form_field_buffer(3x), + form_field_validation(3x), form_variables(3x), getch(3x).
@@ -264,8 +269,8 @@
- These routines emulate the System V forms library. They were not sup- - ported on Version 7 or BSD versions. + These routines emulate the System V forms library. They were not + supported on Version 7 or BSD versions.