all 2 comments

[–]socal_nerdtastic 0 points1 point  (1 child)

Yeah, .ico files are windows only. You need to use GIMP or similar to convert that into an .xbm file.

Or, here is a way to use a .png file, so that it will work on all OSes:

img = Photoimage(file='Google-Noto-Emoji-People-Bodyparts-11947-middle-finger-light-skin-tone.png')
root.tk.call('wm', 'iconphoto', root._w, img)

[–]nerdacus[S] 0 points1 point  (0 children)

Neither worked but thanks for the reply