対応するシグナルを変えてみる

This commit is contained in:
suti7yk5032 2024-09-29 21:56:17 +09:00
parent 5c7611481c
commit aa413cee19

View file

@ -58,7 +58,7 @@ class App(tkinter.Tk):
self.title(f"{app_name} | てすと")
self.iconbitmap(default=resource_path + '\\icon\\dislocker.ico')
self.protocol("WM_DELETE_WINDOW", self.handler_close)
self.protocol("WM_SAVE_YOURSELF", self.handler_close)
self.frame = tkinter.Frame(self)
self.frame.grid(row=0, column=0, sticky='nsew')