summaryrefslogtreecommitdiffstats
path: root/macosx/README
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2019-08-21 02:44:02 (GMT)
committerKevin Walzer <kw@codebykevin.com>2019-08-21 02:44:02 (GMT)
commit87d33346e9d88d45da43ba95853f819923a25a6f (patch)
treed7eea2749052b1114877df7b460720802ec7b6f0 /macosx/README
parenta43842093ab379f2aec68ded26955e68d55c9c47 (diff)
downloadtk-87d33346e9d88d45da43ba95853f819923a25a6f.zip
tk-87d33346e9d88d45da43ba95853f819923a25a6f.tar.gz
tk-87d33346e9d88d45da43ba95853f819923a25a6f.tar.bz2
Remove crash, replace with NSLog message calling for update if MacWindowStyle command does not retrieve window apperance correctly
Diffstat (limited to 'macosx/README')
-rw-r--r--macosx/README3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/README b/macosx/README
index 7df4893..099fdaf 100644
--- a/macosx/README
+++ b/macosx/README
@@ -172,10 +172,11 @@ to aqua or darkaqua then the window will be displayed with the corresponding
appearance independent of any preferences settings. If it is set to "auto"
the appearance will be determined by the preferences. This command can be
used to opt out of Dark Mode on a per-window basis.
+
- To determine the current appearance of a window in macOS 10.14 (Mojave) and
higher, one can use the command:
- tk::unsupported::MacWindowStyle isdark
+ tk::unsupported::MacWindowStyle isdark window?
The boolean return value is true if the window is currently displayed with the
dark appearance.