diff options
author | dkf <dkf@noemail.net> | 2012-07-05 09:52:00 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-07-05 09:52:00 (GMT) |
commit | 6dce7442d7f9eb1811cf76bb71676a4751b4749c (patch) | |
tree | 7007cb3fb123c0ac071b9ea04e106d63ece4362b /doc | |
parent | e063fac2fa1a5a5c7a0e846a67eddeee322a0661 (diff) | |
parent | c3b2fe4851a5774b400e498d6976efbebca834aa (diff) | |
download | tk-6dce7442d7f9eb1811cf76bb71676a4751b4749c.zip tk-6dce7442d7f9eb1811cf76bb71676a4751b4749c.tar.gz tk-6dce7442d7f9eb1811cf76bb71676a4751b4749c.tar.bz2 |
[Bug 3538401]: Better description of the key difference between [wm geometry]
and [winfo geometry]
FossilOrigin-Name: 533441a0c5033c8ee2b28c5cd70995fee3c34f4f
Diffstat (limited to 'doc')
-rw-r--r-- | doc/wm.n | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -349,6 +349,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? |