修复basicwin
Build and Publish / Run (push) Successful in 57s
Details
Build and Publish / Run (push) Successful in 57s
Details
This commit is contained in:
parent
8887f47359
commit
a7a4be2dab
|
@ -68,6 +68,7 @@ class Tk(ttk.Frame):
|
||||||
self.place(x=0, y=0, relwidth=1, relheight=1)
|
self.place(x=0, y=0, relwidth=1, relheight=1)
|
||||||
self.main_tk.geometry(
|
self.main_tk.geometry(
|
||||||
f"{self.w}x{self.h}+{self.x}+{self.y}")
|
f"{self.w}x{self.h}+{self.x}+{self.y}")
|
||||||
|
self.main_tk.protocol("WM_DELETE_WINDOW", lambda *args: self.quit())
|
||||||
|
|
||||||
def mainloop(self) -> None:
|
def mainloop(self) -> None:
|
||||||
t_start = time.time()
|
t_start = time.time()
|
||||||
|
|
Loading…
Reference in New Issue