NAME
menu - Create and manipulate a menu
SYNOPSIS
- menu ?-option optionVal ...?
OPTIONS
- -title
- Title of menu.
type: string
default: ""
- -children
-
type: list, ""
default: list of widget ids
- -tearoff
- whether the menu can be torn off
type: boolean
default: true
DESCRIPTION
WIDGET COMMANDS
The menu command creates a new Tcl command
whose name is an ID returned on widget creation. This command may be
used to invoke various operations on the widget. It has the following
general form:
ID option ?arg arg ...?
option and arg determine the exact behavior of the
command. The following commands are possible for menu widgets:
- ID add widgetList
-
add widgets to the menu.
- ID addEnd widgetList
-
synonym for add
- ID addBegin widgetList
-
same as add but adds widgets before existing childs
- ID popup
- ID popdown
KEYWORDS
Copyright © 2001 - 2002 P. G. Baum