diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-05 09:49:40 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-05 09:49:40 (GMT) |
commit | c3bc1ba553d117972ca0ad585d21366db3cebbc4 (patch) | |
tree | f8bf8e36b71f2309243000259003ce4dc35dcdec /doc/wm.n | |
parent | e3aecac082779869b4164dbb51cbc1bf69b65cb5 (diff) | |
download | tk-c3bc1ba553d117972ca0ad585d21366db3cebbc4.zip tk-c3bc1ba553d117972ca0ad585d21366db3cebbc4.tar.gz tk-c3bc1ba553d117972ca0ad585d21366db3cebbc4.tar.bz2 |
[Bug 3538401]: Better description of the key difference between [wm geometry]
and [winfo geometry]
Diffstat (limited to 'doc/wm.n')
-rw-r--r-- | doc/wm.n | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -227,6 +227,14 @@ If \fInewGeometry\fR is specified as an empty string then any existing user-specified geometry for \fIwindow\fR is cancelled, and the window will revert to the size requested internally by its widgets. +Note that this is related to \fBwinfo geometry\fR, but not the same. That can +only query the geometry, and always reflects Tk's current understanding of the +actual size and location of \fIwindow\fR, whereas \fBwm geometry\fR allows +both setting and querying of the \fIwindow manager\fR's understanding of the +size and location of the window. This can vary significantly, for example to +reflect the addition of decorative elements to \fIwindow\fR such as title +bars, and window managers are not required to precisely follow the requests +made through this command. .TP \fBwm grid \fIwindow\fR ?\fIbaseWidth baseHeight widthInc heightInc\fR? This command indicates that \fIwindow\fR is to be managed as a |