November 1999
Intermediate to advanced
832 pages
19h 28m
English
Table 27-1 lists the attributes for the button, checkbutton, menubutton, and radiobutton widgets. Unless otherwise indicated, the attributes apply to all of these widget types. Chapters 37, 38, and 39 discuss many of these attributes in more detail. Some attributes are ignored on the Windows and Macintosh platforms because they are not supported by the native button widgets.
The table uses the resource name for the attributes, which has capitals at internal word boundaries. In Tcl commands, the attributes are specified with a dash and they are all lowercase. Compare:
option add *Menubutton.activeBackground: red .mb configure -activebackground red
The first command defines a resource database entry that covers all menubuttons ...
Read now
Unlock full access