VtMenuBar(VTCL)
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.
``Geometry class options''
, if the parent widget is a Form.
``Object class options''
``RowColumn class options''
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
.
02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005