diff options
author | dkf <dkf@noemail.net> | 2012-07-05 09:51:14 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-07-05 09:51:14 (GMT) |
commit | c3b2fe4851a5774b400e498d6976efbebca834aa (patch) | |
tree | 413e1f9d9dea07edc5bf4f15a78c18af0c5f00b3 | |
parent | 34ac55265e261592aaf194a3c8b419e8c7e9a873 (diff) | |
parent | 35a3a2780f5c5fac8e4d46a56c059b7bb31e8caf (diff) | |
download | tk-c3b2fe4851a5774b400e498d6976efbebca834aa.zip tk-c3b2fe4851a5774b400e498d6976efbebca834aa.tar.gz tk-c3b2fe4851a5774b400e498d6976efbebca834aa.tar.bz2 |
[Bug 3538401]: Better description of the key difference between [wm geometry]
and [winfo geometry]
FossilOrigin-Name: 02112de3af53e23c08e8007768e33574c372dbe7
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/wm.n | 9 |
2 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2012-07-05 Donal K. Fellows <dkf@users.sf.net> + + * doc/wm.n (geometry): [Bug 3538401]: Better description of the key + difference between [wm geometry] and [winfo geometry]; the former + represents the window manager's understanding, not Tk's. + 2012-07-04 Donal K. Fellows <dkf@users.sf.net> * win/tkWinDialog.c (GetFileNameW): [Bug 3540127]: Clean up the tables @@ -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? |