X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fform_driver.3x;fp=man%2Fform_driver.3x;h=43b59b647e4d29c5b7f99a8d210e8a8be708de5b;hb=159cd0555e0efc14be66c9c3a1548f58908b6a1d;hp=d8434a818086d23f28dbd18398f26169384e1313;hpb=d90067f9008bb8338a77c1ed519bc108c275ed04;p=ncurses.git diff --git a/man/form_driver.3x b/man/form_driver.3x index d8434a81..43b59b64 100644 --- a/man/form_driver.3x +++ b/man/form_driver.3x @@ -28,8 +28,8 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: form_driver.3x,v 1.53 2023/11/25 13:58:47 tom Exp $ -.TH form_driver 3X 2023-11-25 "ncurses 6.4" "Library calls" +.\" $Id: form_driver.3x,v 1.54 2023/12/23 16:08:25 tom Exp $ +.TH form_driver 3X 2023-12-23 "ncurses 6.4" "Library calls" .de bP .ie n .IP \(bu 4 .el .IP \(bu 2 @@ -67,7 +67,7 @@ returned by \fBget_wch\fP(3X). The type must be passed as well, to enable the library to determine whether the parameter is a wide character or a request. -.SS Form-driver requests +.SS "Form Driver Requests" The form driver requests are as follows: .PP .TS @@ -139,7 +139,7 @@ If the second argument is a printable character, the driver places it in the current position in the current field. If it is one of the forms requests listed above, that request is executed. -.SS Field validation +.SS "Field Validation" The form library makes updates to the window associated with form fields rather than directly to the field buffers. .PP @@ -166,7 +166,7 @@ In each case, the move fails if the field is invalid. If the modified field is valid, the form driver copies the modified data from the window associated with the field to the field buffer. -.SS Mouse handling +.SS "Mouse Handling" If the second argument is the KEY_MOUSE special key, the associated mouse event is translated into one of the above pre-defined requests. Currently only clicks in the user window (e.g., inside the form display @@ -213,7 +213,7 @@ into a request was done, \fBform_driver\fP returns the result of this request. If you clicked outside the user window or the mouse event could not be translated into a form request an \fBE_REQUEST_DENIED\fP is returned. -.SS Application-defined commands +.SS "Application-defined Commands" If the second argument is neither printable nor one of the above pre-defined form requests, the driver assumes it is an application-specific command and returns \fBE_UNKNOWN_COMMAND\fP. Application-defined commands