Tkinter.Tk.winfo_toplevel

Tk.winfo_toplevel()

Return the toplevel widget of this widget.