Tkinter icon

Matthias Huening mhuening at zedat.fu-berlin.de
Sun Jan 6 19:28:13 CET 2002


Hi,

when I try to change the icon of an Python/Tkinter application on 
Windows with:

from Tkinter import *
root = Tk()
root.iconbitmap('filename.ico')

I get a strange effect: almost everything works like expected, the window 
gets the new icon. But before it shows up, first a little window pops up 
and disappears again (it too has the new icon). Any explanations?

Matthias



More information about the Python-list mailing list