Menu Attributes
A menu has a few global attributes, and then each menu entry has many button-like attributes that describe its appearance and behavior. Table 27-5 specifies the attributes that apply globally to the menu, unless overridden by a per-entry attribute. The table uses the X resource names, which may have a capital at interior word boundaries. In Tcl commands, use all lowercase and a leading dash.
activeBackground | Background color when the mouse is over a menu entry. |
activeForeground | Text color when the mouse is over a menu entry. |
activeBorderWidth | Width of the raised border around active entries. |
background | The normal background color for menu entries. |
borderWidth | Width of the border around all the ... |
Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.