The fourth area consists of four push button widgets, all children of the Form widget.
The four push buttons are used as follows:
OK executes the find command with the parameters input in the script_find window and removes the script_find window.
Apply executes the find command with the parameters input in the script_find window but does not remove the script_find window.
Close terminates script_find without executing the find command.
Help creates a dialog box with information on the use of script_find.
The push buttons are created and positioned in much the same manner as any of the other widgets, although they are each labeled differently. The following code segment shows how the OK push button is created:
XtCreateManagedWidget OK ok XmPushButton $FORM \ labelString:"Ok" \ $(DtkshUnder $SEP3 10) \ $(DtkshFloatLeft 4) \ $(DtkshFloatRight 24) \ $(DtkshAnchorBottom 10) XtAddCallback $OK activateCallback "OkCallback"