Tcl Tk
Advanced Search
Home
Manuel
Links
Faq
Submit a tcl/tk Reference
Contact Us
Some examples tcl/tk codes
Man of Bwidget
Man of blt
mkwidget screenshots
TkOgl
Video Demo real.
The source of theses pages is the excellent
Tcl/Tk Quick Reference Guide
.
I apologize , because there're some tex commands in the text,
if you see some error please send me an email
Menu Entry Options
The following options work for all cascade, checkbutton, command, and radiobutton entries unless otherwise specified.
-activebackground
-bitmap
-image
-activeforeground
-font
-state
-background
-foreground
-underline
-accelerator
string
Specifies string to display at right side of menu entry.
-command
tclCommand
TCL command to evaluate when entry is invoked.
-columnbreak
value
When
value
is 1, entry appears at top of a new column in menu.
-hidemargin
value
When
value
is 1, the standard margins are not drawn around entry.
-indicatoron
boolean
Whether indictor for checkbutton or radiobutton entry should be displayed.
-label
string
Textual string to display on left side of menu entry.
-menu
pathName
Pathname to a menu to post when cascade entry is active.
-offvalue
value
Value to store in checkbutton entry`s associated variable when deselected.
-onvalue
value
Value to store in checkbutton entry`s associated variable when selected.
-selectcolor
color
Color for indicator in checkbutton and radiobutton entries.
-selectimage
image
Image to draw in indicator for checkbutton and radiobutton entries.
-value
value
Value to store in radiobutton entry`s associated variable when selected.
-variable
variable
Name of global variable to set when checkbutton or radiobutton is selected.
The source of theses pages is the excellent
Tcl/Tk Quick Reference Guide
.