summaryrefslogtreecommitdiffstats
path: root/doc/wm.n
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2005-11-16 02:51:38 (GMT)
committerjenglish <jenglish@flightlab.com>2005-11-16 02:51:38 (GMT)
commit718539f1673682cf65c8944f292fae50524743a3 (patch)
tree9d3321bc297b4c224fcf8c4d09412904181f0209 /doc/wm.n
parent880c27d88e6fe14e3834ff5403249e1fe7b1bf74 (diff)
downloadtk-718539f1673682cf65c8944f292fae50524743a3.zip
tk-718539f1673682cf65c8944f292fae50524743a3.tar.gz
tk-718539f1673682cf65c8944f292fae50524743a3.tar.bz2
Added support for [wm attributes] on X11 [TIP#231, patch#1062022].
Diffstat (limited to 'doc/wm.n')
-rw-r--r--doc/wm.n28
1 files changed, 26 insertions, 2 deletions
diff --git a/doc/wm.n b/doc/wm.n
index adee805..9b2afa9 100644
--- a/doc/wm.n
+++ b/doc/wm.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: wm.n,v 1.23 2005/04/06 21:11:54 dkf Exp $
+'\" RCS: @(#) $Id: wm.n,v 1.24 2005/11/16 02:51:38 jenglish Exp $
'\"
.so man.macros
.TH wm n 8.5 Tk "Tk Built-In Commands"
@@ -82,7 +82,31 @@ finder icon). \fB\-alpha\fR sets the alpha transparency level of the window,
it accepts a value from \fB0.0\fR (fully transparent) to \fB1.0\fR (opaque),
values outside that range will be constrained.
.PP
-On Unix, there are currently no special attribute values.
+On X11, the following attributes may be set.
+These are not supported by all window managers,
+and will have no effect under older WMs.
+.\" See http://www.freedesktop.org/Standards/wm-spec
+.RS
+.TP
+\fB-topmost\fP
+Requests that this window should be kept above
+all other windows that do not also have the \fB-topmost\fP
+attribute set.
+.TP
+\fB-zoomed\fP
+Requests that the window should be maximized.
+This is the same as \fB[wm state zoomed]\fP on Windows.
+.TP
+\fB-fullscreen\fP
+Requests that the window should fill the entire screen
+and have no window decorations.
+.RE
+.PP
+On X11, changes to window attributes are performed asynchronously.
+Querying the value of an attribute returns the current state,
+which will not be the same as the value most recently set
+if the window manager has not yet processed the request
+or if it does not support the attribute.
.RE
.TP
\fBwm client \fIwindow\fR ?\fIname\fR?