summaryrefslogtreecommitdiffstats
path: root/library/print.tcl
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2021-07-06 18:16:57 (GMT)
committerKevin Walzer <kw@codebykevin.com>2021-07-06 18:16:57 (GMT)
commit45da91752433ff330ff546e008626f486b7bf142 (patch)
tree7ba03a04a9006f86bda0473fde064b749ac0b1b9 /library/print.tcl
parent118df676a89f82b1db665692a72caee7ec63d4b8 (diff)
downloadtk-45da91752433ff330ff546e008626f486b7bf142.zip
tk-45da91752433ff330ff546e008626f486b7bf142.tar.gz
tk-45da91752433ff330ff546e008626f486b7bf142.tar.bz2
Minor update to X11
Diffstat (limited to 'library/print.tcl')
-rw-r--r--library/print.tcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/print.tcl b/library/print.tcl
index 941e841..f6049ec 100644
--- a/library/print.tcl
+++ b/library/print.tcl
@@ -844,6 +844,8 @@ namespace eval ::tk::print {
button $p.frame.buttonframe.cancel -text [mc "Cancel"] -command {destroy ._print}
pack $p.frame.buttonframe.printbutton $p.frame.buttonframe.cancel -side right -fill x -expand no
+ #Center the window as a dialog.
+ ::tk::PlaceWindow $p
}