VtMenuBar(VTCL)

VtMenuBar(VTCL)


VtMenuBar -- create menu bar, return widget name

Syntax

VtMenuBar object_name [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.

See also