アイコンを変更、ウィンドウを完全に非表示に
This commit is contained in:
parent
aa413cee19
commit
5488be9ec9
1 changed files with 4 additions and 4 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue