CustomTkinter
CustomTkinter copied to clipboard
CTkTopLevel iconbitmap not working in windows
i tried all this method and still icon not working and stucking in deault icon
I deleated line 41 to 47 from ctk_toplevel.py and now it's working
you could use iconbitmap() then insert the image as an .ico file
No that's not working
Just want to +1 this one as I have tried to use iconbitmap and I get the same issue. I can actually see the icon changing to my custom one and then changing back to the default very quickly after it opens. Most of the missing icons are coming from classes that are created using ctk.CTkTopLevel.
Standard message boxes are displaying the icon correctly.
I am able to change the icon using a method outside the init so the icon is working correctly.
I've set the icon to the default in the ctk.CTk class and then tired to run iconbitmap in all the classes init in various locations but still has the same effect.
I managed to fix it here, I'll make a pull request