summaryrefslogtreecommitdiffstats
path: root/macosx/README
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2018-11-10 14:15:50 (GMT)
committerKevin Walzer <kw@codebykevin.com>2018-11-10 14:15:50 (GMT)
commit8b8d040cfe3afe4615c0275dec4132c556ec088d (patch)
treed114d20a5f7558d70dbf26a6949674e2a7d8ee16 /macosx/README
parent2dee9a6869191253cd430d51db377dc484499c0f (diff)
downloadtk-8b8d040cfe3afe4615c0275dec4132c556ec088d.zip
tk-8b8d040cfe3afe4615c0275dec4132c556ec088d.tar.gz
tk-8b8d040cfe3afe4615c0275dec4132c556ec088d.tar.bz2
Remove new Mojave virtual events to register system appearance changes because Tk crashes unpredictably; window decotrations, menus and dialogs change when system appearance changes and virtual events are not required
Diffstat (limited to 'macosx/README')
-rw-r--r--macosx/README13
1 files changed, 7 insertions, 6 deletions
diff --git a/macosx/README b/macosx/README
index c63b8ae..8b2f52f 100644
--- a/macosx/README
+++ b/macosx/README
@@ -561,12 +561,13 @@ source and destination rectangles for the scrolling. The embedded
windows are redrawn within the DisplayText function by some
conditional code which is only used for macOS.
-5.0 Virtual events on 10.14
+5.0 Dark Mode on 10.14
~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.14 supports system appearance changes, and has added a "Dark Mode"
-that casts all window frames and menus as black. Tk 8.6.9 has added two
-virtual events, <<LightAqua>> and <<DarkAqua>>, to allow you to update
-your Tk app's appearance when the system appearance changes. Just bind
-your appearance-updating code to these virtual events and you will see
-it triggered when the system appearance toggles between dark and light.
+that casts all window frames and menus as black. Tk 8.6.9 supports Dark
+Mode by having the window decorations, menus, and dialogs automatically
+take on the appropriate appearance when the system appearance is changed.
+Because the window content itself is drawn by Tk, it will not change when
+the system mode changes.
+