summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2018-10-17 11:27:23 (GMT)
committerKevin Walzer <kw@codebykevin.com>2018-10-17 11:27:23 (GMT)
commit8a67081a897939cfc0d90a2854185262aeda55db (patch)
tree185ea725bed5b090794b373dec602c317353f658 /macosx
parent1f1b9f6c815c9597f01d8d86661e427b85ab258a (diff)
downloadtk-8a67081a897939cfc0d90a2854185262aeda55db.zip
tk-8a67081a897939cfc0d90a2854185262aeda55db.tar.gz
tk-8a67081a897939cfc0d90a2854185262aeda55db.tar.bz2
Update README with new virtual events for appearance changes
Diffstat (limited to 'macosx')
-rw-r--r--macosx/README3
1 files changed, 3 insertions, 0 deletions
diff --git a/macosx/README b/macosx/README
index bcd5dce..2e2ef2a 100644
--- a/macosx/README
+++ b/macosx/README
@@ -561,3 +561,6 @@ 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
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+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.