Tkinter.Toplevel.winfo_pathname

Toplevel.winfo_pathname(id, displayof=0)

Return the pathname of the widget given by ID.