summaryrefslogtreecommitdiffstats
path: root/doc/wm.n
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-01-12 11:44:42 (GMT)
committerhobbs <hobbs>2000-01-12 11:44:42 (GMT)
commit32fad90058330cb7c74edd226bc96a8e95fe73be (patch)
tree76b891e77bd71fce19c0329d5958037b467aa165 /doc/wm.n
parenta42304700cf752f7f890d424ef7a153273183d93 (diff)
downloadtk-32fad90058330cb7c74edd226bc96a8e95fe73be.zip
tk-32fad90058330cb7c74edd226bc96a8e95fe73be.tar.gz
tk-32fad90058330cb7c74edd226bc96a8e95fe73be.tar.bz2
* doc/wm.n:
* tests/winWm.test: * tests/unixWm.test: * mac/tkMacWm.c: * unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377] * win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077], fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338] and fixed mapping of transient window [Bug: 572] Also, for all wm's, extended 'wm state' command to allow setting of the state, and added official support of 'zoomed' state on Win.
Diffstat (limited to 'doc/wm.n')
-rw-r--r--doc/wm.n19
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/wm.n b/doc/wm.n
index a2c4b0e..cc82f25 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.4 1999/08/10 16:58:18 hobbs Exp $
+'\" RCS: @(#) $Id: wm.n,v 1.5 2000/01/12 11:44:42 hobbs Exp $
'\"
.so man.macros
.TH wm n 4.3 Tk "Tk Built-In Commands"
@@ -391,14 +391,15 @@ source of the window's current size, or an empty string if
no source has been specified yet. Most window managers interpret
``no source'' as equivalent to \fBprogram\fR.
.TP
-\fBwm state \fIwindow\fR
-Returns the current state of \fIwindow\fR: either \fBnormal\fR,
-\fBiconic\fR, \fBwithdrawn\fR, or \fBicon\fR. The difference
-between \fBiconic\fR and \fBicon\fR is that \fBiconic\fR refers
-to a window that has been iconified (e.g., with the \fBwm iconify\fR
-command) while \fBicon\fR refers to a window whose only purpose is
-to serve as the icon for some other window (via the \fBwm iconwindow\fR
-command).
+\fBwm state \fIwindow\fR ?newstate?
+If \fInewstate\fR is specified, the window will be set to the new state,
+otherwise it returns the current state of \fIwindow\fR: either
+\fBnormal\fR, \fBiconic\fR, \fBwithdrawn\fR, \fBicon\fR, or (Windows only)
+\fBzoomed\fR. The difference between \fBiconic\fR and \fBicon\fR is that
+\fBiconic\fR refers to a window that has been iconified (e.g., with the
+\fBwm iconify\fR command) while \fBicon\fR refers to a window whose only
+purpose is to serve as the icon for some other window (via the \fBwm
+iconwindow\fR command). The \fBicon\fR state cannot be set.
.TP
\fBwm title \fIwindow\fR ?\fIstring\fR?
If \fIstring\fR is specified, then it will be passed to the window