diff options
author | fvogel <fvogelnew1@free.fr> | 2020-07-14 20:40:53 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2020-07-14 20:40:53 (GMT) |
commit | 65889f2f4caa6487479827e559deed01c48ffdba (patch) | |
tree | 9cfc1997216727e63681c519271f68de5f736aa8 /macosx | |
parent | 23e453cf42f7b994add57898e672811e97d4e4fd (diff) | |
download | tk-65889f2f4caa6487479827e559deed01c48ffdba.zip tk-65889f2f4caa6487479827e559deed01c48ffdba.tar.gz tk-65889f2f4caa6487479827e559deed01c48ffdba.tar.bz2 |
Bring macOS documentation up-to-date with respect to the new semantic color systemPlaceholderTextColor.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/README | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/macosx/README b/macosx/README index a3f10b6..e9d50a4 100644 --- a/macosx/README +++ b/macosx/README @@ -275,17 +275,18 @@ but rather refers to the context in which the color should be used. Tk now provides the following semantic colors as system colors: systemTextColor, systemTextBackgroundColor, systemSelectedTextColor, systemSelectedTextBackgroundColor, systemControlTextColor, -systemDisabledControlTextColor, systemLabelColor, systemLinkColor, and -systemControlAccentColor. All of these except the last three were -present in OSX 10.0 (and those three are simulated in systems where they -do not exist). The change in 10.14 was that the RGB color value of -these colors became dynamic, meaning that the color value can change -when the application appearance changes. In particular, when a user -selects Dark Mode in the system preferences these colors change -appearance. For example systemTextColor is dark in Aqua and light in -DarkAqua. One additional color, systemSelectedTabTextColor, does not -exist in macOS but is used by Tk to match the different colors used -for Notebook tab text in different OS versions. +systemDisabledControlTextColor, systemLabelColor, systemLinkColor, +systemControlAccentColor, and systemPlaceholderTextColor. All of these +except the last four were present in OSX 10.0 (and those four are +simulated in systems where they do not exist). The change in 10.14 was +that the RGB color value of these colors became dynamic, meaning that +the color value can change when the application appearance changes. +In particular, when a user selects Dark Mode in the system preferences +these colors change appearance. For example systemTextColor is dark in +Aqua and light in DarkAqua. One additional color, +systemSelectedTabTextColor, does not exist in macOS but is used by Tk +to match the different colors used for Notebook tab text in different +OS versions. The default background and foreground colors of most of the Tk widgets have been set to semantic colors, which means that the widgets will change |