VtMenuBar(1vtcl)


VtMenuBar -- create menu bar, return widget name

Synopsis

VtMenuBar widgetName [options]

Description

Creates a Menu Bar. Returns the widget name.

Options

-helpMenuItemList ON_VERSION | ON_CONTEXT | ON_WINDOW | ON_KEYS | INDEX | TUTORIAL | HELP | (C)
Sets the default help menu in a menu bar.

For example:

VtMenuBar $parent.menubar \ 
-helpMenuItemList {ON_VERSION ON_CONTEXT} 
Note that help ON_CONTEXT does not work in character mode.

-spacing integer (CS)
Sets the spacing between items in a menu bar. Useful for creating toolbars.

Return values

If VtMenuBar fails, it returns one of the following error messages:

Standard errors
See ``Tcl widget creation errors''.

30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.