DOC HOME
SITE MAP
MAN PAGES
GNU INFO
SEARCH
PRINT BOOK
Creating an SCO Visual Tcl program -- an overview
The kill program example
Defining the callbacks
Coding the supporting routines
Outline of kill program procedures
Coding the Main routine
Establishing a connection to the server (VtOpen)
About the widget tree
Specifying the command to execute
Creating the main form (VtFormDialog)
Widget naming guidelines
Returning handle references
The empty form
Defining the menu tree
Creating the menu bar (VtMenuBar)
Creating menu buttons (VtPushButton)
Creating the process list (VtList, VxSetVar)
Attaching variables to a form (VxSetVar)
Retrieving attached variables (VxGetVar)
VxSetVar example
Reviewing the Main routine
Getting the process ID (MenuKillCB)
About keyed lists and the callback structure (cbs)
Getting the process ID (PID)
About question dialogs
Creating the question dialog (VtQuestionDialog)
Specifying an action when user clicks OK (KillFormOkCB)
Updating process list in response to user (MenuRefreshCB)
Exiting the program (MenuExitCB)
Updating the process list (DoRefresh)
Displaying the process list (GetPsList)
Completed kill program