Color Attributes

Table 48-1 lists the names of the color attributes that changed. These attributes are described in more detail in Chapter 38 starting at page 536.

Table 48-1. Changes in color attribute names.
Tk 3.6Tk4.0
selectorselectColor
Scrollbar.activeForegroundScrollbar.activeBackground
Scrollbar.backgroundtroughColor
Scrollbar.foregroundScrollbar.background
Scale.activeForegroundScale.activeBackground
Scale.backgroundtroughColor
Scale.sliderForegroundScale.background
(did not exist)highlightBackground
(did not exist)highlightColor

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.