Defining the menu tree
Next, menus are placed on the form.
In SCO Visual Tcl, creating menus is as simple as translating the
menu widget tree into SCO Visual Tcl code.
First, create a MenuBar widget which will be
the parent of the pulldown menus (Process and
Next, define the menu items (children) of the pulldown menus.
The CreateMenu procedure defines these menus.
The Process pulldown menu has two children --
the Kill Selected
and Exit push buttons.
The View pulldown menu has only one child --
the Refresh push button.
Creating the menu bar (VtMenuBar)
The empty form
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003