in reply to Tk - Place DialogBox in middle of top window
You need the -geometry option, which is described here:
http://www.wellho.net/forum/The-Tcl-programming-language/Tk-Geometry-strings.html
To be able to place a dialog on top of another window, you'll need to use the winfo command to get the information. In Perl, you'll want to do something like:
$mw->winfo("geometry")
See all possible winfo strings here: http://www.wellho.net/forum/The-Tcl-programming-language/Tk-Geometry-strings.html
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk - Place DialogBox in middle of top window
by Dirk80 (Pilgrim) on Jul 06, 2010 at 14:10 UTC |