diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-04-16 22:26:50 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-04-16 22:26:50 (GMT) |
commit | 4ff08cc90144bd0507385401722a69d543564fe1 (patch) | |
tree | 2cdb1ff7b6c35f28702c0ce01d36699053494d74 /library | |
parent | f1738e4080c7f26a5bdfb1dfcb3b74b597753f23 (diff) | |
download | tk-4ff08cc90144bd0507385401722a69d543564fe1.zip tk-4ff08cc90144bd0507385401722a69d543564fe1.tar.gz tk-4ff08cc90144bd0507385401722a69d543564fe1.tar.bz2 |
set [wm maxsize] as well
Diffstat (limited to 'library')
-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 } |