summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorculler <culler>2023-01-30 17:18:11 (GMT)
committerculler <culler>2023-01-30 17:18:11 (GMT)
commitebc8c7fe8e57c06dc8bf9b15c5364e67434121df (patch)
tree60af5a49943397f110fdde5cfea1c49513b57105 /doc
parentba084026be93362126c6ae4e8bf1145a374d66b3 (diff)
downloadtk-ebc8c7fe8e57c06dc8bf9b15c5364e67434121df.zip
tk-ebc8c7fe8e57c06dc8bf9b15c5364e67434121df.tar.gz
tk-ebc8c7fe8e57c06dc8bf9b15c5364e67434121df.tar.bz2
Change -type to -class. Update the man page.
Diffstat (limited to 'doc')
-rw-r--r--doc/wm.n28
1 files changed, 27 insertions, 1 deletions
diff --git a/doc/wm.n b/doc/wm.n
index eda2fa7..83f5d1a 100644
--- a/doc/wm.n
+++ b/doc/wm.n
@@ -94,7 +94,33 @@ value accepted by \fBTk_GetColor\fR. If the empty string is specified
2000/XP+. Where not supported, the \fB\-transparentcolor\fR value remains
at \fB{}\fR.
.PP
-On Mac OS X, the following attributes may be set.
+On MacOS, the following attributes may be set.
+.TP
+\fB\-class\fR
+.
+Specifies whether the underlying Aqua window for a toplevel is an
+object of the NSWindow class or the NSPanel class. The two allowed
+values for this option are \fBnswindow\fR and \fBnspanel\fR. It is
+not possible to change the class of the underlying Aqua window once
+that window has been instantiated, and attempting to do that is an
+error. However it is allowed to set this option for a pathname that
+does not correspond to an existing window. Doing that causes the
+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\-stylemask\fR
+.
+Specifies an integer to be assigned as the styleMask of the underlying
+Aqua window. (See the Apple documentation for styleMask property of
+the NSWindow class.) The value of this option should be a list of
+bitnames. Each bit named in the list will be set to 1, and all other
+bits will be set to 0. The allowed bitnames are: \fBtitled\fR,
+\fBclosable\fR, \fBminiaturizable\fR, \fBresizable\fR,
+\fBfullsizecontentview\fR, \fBdocmodal\fR, \fButility\fR,
+\fBnonactivatingpanel\fR, and \fBHUDwindow\fR. Note that a side
+effect of setting the fullsizecontentview bit is that the window title
+bar becomes transparent.
.TP
\fB\-modified\fR
.