I have a Toplevel widget I'd like it so that it would never appear within the confines of the main Tk window. Basically so that when the Toplevel appears it doesn't cover up any of the main Tk window.
A:
You could just set up a separate toplevel, cf:
self.newwindow = Toplevel(self)
self.newwindow.title('New Window')
and then embed the widget in the separate toplevel.
Kevin Walzer
2010-10-01 02:17:00
A:
You want to use wm_geometry and a tiny bit of math to calculate and set a suitable starting position for the second toplevel.
Bryan Oakley
2010-10-01 02:34:49