Skip to content

Commit

Permalink
override iconbitmap TomSchimansky#1106
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSchimansky committed Jan 24, 2023
1 parent 9fcd963 commit 9e2584c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions customtkinter/windows/ctk_tk.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ def wm_iconbitmap(self, bitmap=None, default=None):
self._iconbitmap_method_called = True
super().wm_iconbitmap(bitmap, default)

def iconbitmap(self, bitmap=None, default=None):
self._iconbitmap_method_called = True
super().wm_iconbitmap(bitmap, default)

def _windows_set_titlebar_icon(self):
try:
# if not the user already called iconbitmap method, set icon
Expand Down

0 comments on commit 9e2584c

Please sign in to comment.