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 | eec8ff3ad044a1aaf408b16b3b8594e036989c41 (patch) | |
tree | 2cdb1ff7b6c35f28702c0ce01d36699053494d74 | |
parent | 5767bc2dda8585a2eb562dd3974c8027e560aace (diff) | |
download | tk-eec8ff3ad044a1aaf408b16b3b8594e036989c41.zip tk-eec8ff3ad044a1aaf408b16b3b8594e036989c41.tar.gz tk-eec8ff3ad044a1aaf408b16b3b8594e036989c41.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 } |