DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtMenuBar(VTCL)


VtMenuBar -- create menu bar, return widget name

Syntax

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.

Errors


Standard errors
See ``Tcl widget creation errors'' in SCO Visual Tcl Programmer's Guide and Reference.

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