CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

iconbitmap overridden

Open cfivek opened this issue 2 years ago • 7 comments

After upgrading to 5.05 (from 5.01), I noticed my root.iconbitmap is being overridden with the customtkinter logo. It seems I can no longer use my own .ico?

Bug?

cfivek avatar Jan 24 '23 04:01 cfivek

Yes, this is an issue with the new version. Only the wm_iconbitmap method is implemented, that is why other methods are not working, @TomSchimansky please add the other methods.

  • iconbitmap
  • iconphoto
  • wm_iconphoto

Akascape avatar Jan 24 '23 06:01 Akascape

I open duplicate: #1125

emcek avatar Jan 30 '23 11:01 emcek

Looks like 5.1.0 fix this.

emcek avatar Feb 05 '23 23:02 emcek

no i still have that problem

Rexlep avatar Dec 21 '23 10:12 Rexlep

I used both methods and it wont work image image

kinsey-n avatar Dec 28 '23 00:12 kinsey-n

I used both methods and it wont work image image

Nothing to do with original issue. Problem is with backslashes which are interpreted as extra characters, \U in Users. Use extra \ like C:\\Users\\k... or raw string: r'C:\Users\k...'

emcek avatar Dec 28 '23 11:12 emcek

I have this issue too, but for me its overwriting the icon of my CTkToplevel windows.

LoSh-68 avatar Apr 21 '24 07:04 LoSh-68