diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-16 22:26:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-16 22:26:50 (GMT) |
commit | f4876885b53d6ed34fb1c3577e0c2d238a871953 (patch) | |
tree | 2cdb1ff7b6c35f28702c0ce01d36699053494d74 | |
parent | 31f6b36e6e188b6b5c7a5007b15b99100b597bab (diff) | |
download | tk-f4876885b53d6ed34fb1c3577e0c2d238a871953.zip tk-f4876885b53d6ed34fb1c3577e0c2d238a871953.tar.gz tk-f4876885b53d6ed34fb1c3577e0c2d238a871953.tar.bz2 |
set [wm maxsize] as well
-rw-r--r-- | library/tk.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/tk.tcl b/library/tk.tcl index 1935bbc..57525f1 100644 --- a/library/tk.tcl +++ b/library/tk.tcl @@ -122,6 +122,7 @@ proc ::tk::PlaceWindow {w {place ""} {anchor ""}} { if {$y < 22} { set y 22 } } } + wm maxsize $w [winfo vrootwidth $w] [winfo vrootheight $w] wm geometry $w +$x+$y wm deiconify $w } |