DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

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'' in Developing Visual Tcl applications.

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