diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2012-07-05 09:51:14 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2012-07-05 09:51:14 (GMT) |
commit | 22769d816036034ac0f96981b6dd72fa22a059cf (patch) | |
tree | 413e1f9d9dea07edc5bf4f15a78c18af0c5f00b3 /doc | |
parent | 866c03d07a2d58e6f3d8f2f0e3e227e811311ede (diff) | |
parent | be68bd465e0df039e823113acf8c69779306037a (diff) | |
download | tk-22769d816036034ac0f96981b6dd72fa22a059cf.zip tk-22769d816036034ac0f96981b6dd72fa22a059cf.tar.gz tk-22769d816036034ac0f96981b6dd72fa22a059cf.tar.bz2 |
[Bug 3538401]: Better description of the key difference between [wm geometry]
and [winfo geometry]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/wm.n | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -260,6 +260,15 @@ 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. +.PP +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. .RE .TP \fBwm grid \fIwindow\fR ?\fIbaseWidth baseHeight widthInc heightInc\fR? |