我正在尝试关闭 TKInter 窗口self.win.destroy
。
bind
将事件发送到按钮时会引发以下错误:
...
Can't invoke "bind" command: application has been destroyed
During handling the above exception, another exception occured:
...
Can't invoke "destroy" command: application has been destroyed
如何将“关闭窗口”命令绑定到按钮?