diff options
author | culler <culler> | 2019-03-18 15:36:31 (GMT) |
---|---|---|
committer | culler <culler> | 2019-03-18 15:36:31 (GMT) |
commit | 446875a3bad587fe6e6388f6576d12246df14154 (patch) | |
tree | 25519b0e932e500f442ffa5f3f93a1998c680313 /macosx/README | |
parent | f357757e215618b09711c710048d925db11c2125 (diff) | |
download | tk-446875a3bad587fe6e6388f6576d12246df14154.zip tk-446875a3bad587fe6e6388f6576d12246df14154.tar.gz tk-446875a3bad587fe6e6388f6576d12246df14154.tar.bz2 |
Added ::tk::unsupported::MacWindowStyle appearance to control which appearances are allowed
on a per-window basis.
Diffstat (limited to 'macosx/README')
-rw-r--r-- | macosx/README | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/macosx/README b/macosx/README index adc709c..c79c372 100644 --- a/macosx/README +++ b/macosx/README @@ -189,6 +189,16 @@ tk::unsupported::MacWindowStyle tabbingid window ?newId? which can be used to get or set the tabbingIdentifier for the NSWindow associated with a Tk Window. See section 3 for details. +- A command tk::unsupported::MacWindowStyle appearance window ?newAappearance? +is available when Tk is built and run on macOS 10.14 (Mojave) or later. In +that case the Ttk widgets all support the "Dark Mode" appearance which was +introduced in 10.14. The command accepts the following values for the optional +newAppearance option: "aqua", "darkaqua", or "auto". If the appearance is set +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. + - If you want to use Remote Debugging with Xcode, you need to set the environment variable XCNOSTDIN to 1 in the Executable editor for Wish. That will cause us to force closing stdin & stdout. Otherwise, given how Xcode launches |