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

Creating the menu bar (VtMenuBar)

Pass the CreateMenu procedure a name (in this case, ``form''), which becomes the parent for this portion of the widget tree.

Next, call VtMenuBar(VTCL) is called to create the MenuBar widget. As usual, a handle is returned. This handle is stored in the variable menubar.

Successive calls to VtPulldown(VTCL) create the two pulldown menus. The syntax used here should be familiar by now.


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005