Skip to content

Commit 3341e87

Browse files
committed
Add a credit to @TomSchimansky
1 parent 651c98f commit 3341e87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

async_tkinter_loop/mixins.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ def async_mainloop(self: tkinter.Tk):
1111

1212
class AsyncCTk(AsyncTk):
1313
def async_mainloop(self):
14+
# Based on the code from CustomTkinter by Tom Schimansky
15+
# Source https://github.com/TomSchimansky/CustomTkinter/blob/d719950f80eb2768db96bd4cc627523e99603b1b/customtkinter/windows/ctk_tk.py#L155
1416
if not self._window_exists:
1517
if sys.platform.startswith("win"):
1618
self._windows_set_titlebar_color(self._get_appearance_mode())

0 commit comments

Comments
 (0)