mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
override iconbitmap #1106
This commit is contained in:
parent
9fcd963fd2
commit
9e2584c958
@ -220,6 +220,10 @@ class CTk(tkinter.Tk, CTkAppearanceModeBaseClass, CTkScalingBaseClass):
|
|||||||
self._iconbitmap_method_called = True
|
self._iconbitmap_method_called = True
|
||||||
super().wm_iconbitmap(bitmap, default)
|
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):
|
def _windows_set_titlebar_icon(self):
|
||||||
try:
|
try:
|
||||||
# if not the user already called iconbitmap method, set icon
|
# if not the user already called iconbitmap method, set icon
|
||||||
|
Loading…
Reference in New Issue
Block a user