diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-20 12:27:15 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-20 12:27:15 (GMT) |
commit | 48618f68cf19963ba025756c77672298c47b804c (patch) | |
tree | 67282c401e49141494e4c57d279601278e19b21c /library/tkfbox.tcl | |
parent | 29090f7e122f08f970ad2970f6fedb5fd681192c (diff) | |
parent | 72dea207ae279d05cfa07445b767e0efb4bb6702 (diff) | |
download | tk-48618f68cf19963ba025756c77672298c47b804c.zip tk-48618f68cf19963ba025756c77672298c47b804c.tar.gz tk-48618f68cf19963ba025756c77672298c47b804c.tar.bz2 |
Use vroot size in stead of screen size for clipping window coordinates in ::tk::PlaceWindow.
Use ::tk::PlaceWindow in dialog.tcl, in stead of dumplicating the code there.
Diffstat (limited to 'library/tkfbox.tcl')
-rw-r--r-- | library/tkfbox.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl index 6354300..ff79df8 100644 --- a/library/tkfbox.tcl +++ b/library/tkfbox.tcl @@ -196,9 +196,9 @@ proc ::tk::dialog::file:: {type args} { } UpdateWhenIdle $w - # Withdraw the window, then update all the geometry information so we know - # how big it wants to be, then center the window in the display and - # de-iconify it. + # Withdraw the window, then update all the geometry information + # so we know how big it wants to be, then center the window in the + # display (Motif style) and de-iconify it. ::tk::PlaceWindow $w widget $data(-parent) wm title $w $data(-title) |