November 1999
Intermediate to advanced
832 pages
19h 28m
English
Table 38-1 lists the resource names for color attributes. The table indicates what widgets use the different color attributes. Remember to use all lowercase and a leading dash when specifying attributes in a Tcl command.
| background | The normal background color. All widgets. |
| bg | Short for background. Command line only. |
| foreground | The normal foreground color. Widgets: button, checkbutton, entry, label, listbox, menu, menubutton, message, radiobutton, scale, and text. |
| fg | Short for foreground. Command line only. |
| activeBackground | The background when a mouse button will take an action. Widgets: button, checkbutton, menu, menubutton, radiobutton, scale, and scrollbar. |
| activeForeground | The foreground when the mouse ... |
Read now
Unlock full access