アイコンを変更、ウィンドウを完全に非表示に

This commit is contained in:
suti7yk5032 2024-09-29 22:07:01 +09:00
parent aa413cee19
commit 5488be9ec9

View file

@ -53,17 +53,17 @@ class App(tkinter.Tk):
else:
pass
self.geometry("100x100")
self.geometry("160x100")
self.title(f"{app_name} | てすと")
self.iconbitmap(default=resource_path + '\\icon\\dislocker.ico')
self.title(f"{app_name} | シャットダウンを監視")
self.iconbitmap(default=resource_path + '\\icon\\dislocker_shutdown.ico')
self.protocol("WM_SAVE_YOURSELF", self.handler_close)
self.frame = tkinter.Frame(self)
self.frame.grid(row=0, column=0, sticky='nsew')
self.iconify()
self.deiconify()
def delete_appdata(self, **kwargs):
process_name = kwargs["process_name"]