背景に触れないように
This commit is contained in:
parent
7d8c14c080
commit
5133e550ed
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@ class App(customtkinter.CTk):
|
|||
super().__init__()
|
||||
self.title("Dislocker ロック中")
|
||||
self.attributes('-fullscreen', True)
|
||||
self.attributes('-topmost', True)
|
||||
|
||||
self.frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color='transparent')
|
||||
self.frame.grid(row=0, column=0, sticky='nsew')
|
||||
|
@ -63,6 +64,7 @@ class Lock(customtkinter.CTkToplevel):
|
|||
self.geometry('400x200')
|
||||
self.resizable(height=False, width=False)
|
||||
self.attributes('-topmost', True)
|
||||
self.grab_set()
|
||||
self.lift()
|
||||
self.protocol("WM_DELETE_WINDOW", self.handler_close)
|
||||
|
||||
|
|
Loading…
Reference in a new issue