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

Reviewing the Main routine

  #
  # Main
  #

set app [VtOpen Example]

set mainform [VtFormDialog $app.form -title "Kill"]

CreateMenu $mainform CreateList $mainform

VtShow $mainform VtMainLoop

So far, this chapter has explained how Main:

  1. calls VtOpen(1vtcl) to establish a connection to the server

  2. calls VtFormDialog(1vtcl) to create the first form

  3. passes the handle of this form dialog to CreateMenu and CreateList
Next, call VtShow(1vtcl) to display the form on the screen, and call VtMainLoop(1vtcl) to hand control to the user.

The next several sections discuss the callbacks used by the program.


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