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(1vtcl) 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(1vtcl) create the two pulldown menus. The syntax used here should be familiar by now.


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