您如何知道用户何时在 python tkinter 程序中按下关闭按钮上的“x”按钮并执行事件?
python tkinter python-3.x
python ×1
python-3.x ×1
tkinter ×1