winfo toplevel

winfo toplevel window

Returns the path name of the top-level window containing window.


See also: