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.


Next topic: Creating menu buttons (VtPushButton)
Previous topic: Defining the menu tree

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003