summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorculler <culler>2023-02-09 19:11:24 (GMT)
committerculler <culler>2023-02-09 19:11:24 (GMT)
commit5f1ed7c5682b2d82a02b0375801751218a7b8728 (patch)
treed1f458ba818238b72bc234db486b516f8af63df2 /doc
parent7fab2f15f5e34cae7111e36407f3fc8f38a4a86e (diff)
downloadtk-5f1ed7c5682b2d82a02b0375801751218a7b8728.zip
tk-5f1ed7c5682b2d82a02b0375801751218a7b8728.tar.gz
tk-5f1ed7c5682b2d82a02b0375801751218a7b8728.tar.bz2
Add -appearance and -isdark as options to the wm attributes command.
Diffstat (limited to 'doc')
-rw-r--r--doc/wm.n36
1 files changed, 24 insertions, 12 deletions
diff --git a/doc/wm.n b/doc/wm.n
index cd16d76..e53529c 100644
--- a/doc/wm.n
+++ b/doc/wm.n
@@ -96,6 +96,13 @@ at \fB{}\fR.
.PP
On MacOS, the following attributes may be set.
.TP
+\fB\-appearance\fR
+.
+Specifies whether the window is rendered in "dark mode". Allowed
+values are \fBauto\fR, \fBaqua\fR and \fBdarkaqua\fR. If the setting
+is auto then the appearance of the window is controlled by the
+System Settings.
+.TP
\fB\-class\fR
.
Specifies whether the underlying Aqua window for a toplevel is an
@@ -109,6 +116,21 @@ class name to be cached for later use. When a toplevel with that
pathname is eventually created, the cached class name will determine which
class is used for the underlying Aqua window.
.TP
+\fB\-isdark\fR
+.
+Returns a boolean value which is true if the window is currently in
+dark mode.
+.TP
+\fB\-modified\fR
+.
+Specifies the modification state of the window (determines whether the
+window close widget contains the modification indicator and whether the
+proxy icon is draggable).
+.TP
+\fB\-notify\fR
+.
+Specifies process notification state (bouncing of the application dock icon).
+.TP
\fB\-stylemask\fR
.
Specifies an integer to be assigned as the styleMask of the underlying
@@ -122,16 +144,6 @@ bits will be set to 0. The allowed bitnames are: \fBtitled\fR,
effect of setting the fullsizecontentview bit is that the window title
bar becomes transparent.
.TP
-\fB\-modified\fR
-.
-Specifies the modification state of the window (determines whether the
-window close widget contains the modification indicator and whether the
-proxy icon is draggable).
-.TP
-\fB\-notify\fR
-.
-Specifies process notification state (bouncing of the application dock icon).
-.TP
\fB\-tabbingid\fR
.
Controls how tabbed toplevel windows are grouped together. Two tabs
@@ -160,8 +172,8 @@ the toplevel is actually created.
.TP
\fB\-titlepath\fR
.
-Specifies the path of the file referenced as the window proxy icon (which
-can be dragged and dropped in lieu of the file's finder icon).
+Specifies the path of the file referenced as the window proxy icon
+(which can be dragged and dropped in lieu of the file's finder icon).
.TP
\fB\-transparent\fR
.