DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Creating an SCO Visual Tcl program -- an overview

Defining the callbacks

The graphic above shows what callbacks are needed; namely, one for each button that can be pushed and for which we want a callback. These callbacks are:


MenuKillCB
invoked when Kill Selected is selected from the Process menu

MenuExitCB
invoked when Exit is selected from the Process menu

MenuRefreshCB
invoked when Refresh is selected from the View menu

KillFormOkCB
invoked when OK is chosen from the question dialog
When the user clicks on Cancel in the question dialog, no action should take place. Therefore, a callback is not defined for Cancel.

Callback routines can have any name. The convention typically used is to end callback names with the letters CB (for callback).


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004