我正在尝试检查特定的Toplevel是否已被销毁,这是在按下某个按钮后发生的,这样我就可以在程序中执行其他操作(即创建一个新的Toplevel)。from tkinter import *
t1.title('REG')
global e,which shold allow me to then carry out the next step in the program
print(&q
在用户按下Login按钮后,我尝试用不同的GUI打开一个全新的文件,但当用户单击它时,我似乎无法销毁主要的Tk窗口。def __init__(self, master=None): #This is how I initialized the TK window m_login = tkinter.Button(text="Login",bg="