Tkinter: How can I determine the position of a Toplevel?

Viewed 12126

The title says it all really, I have a piece of code in which I would like to move the top-level in relation to its old position.

To do this I need to fetch the current position of the window, then set the new position using root.geometry('+x+y'). How can I find the current position of a TopLevel?

1 Answers
Related