Tk Icon - request to Fredrik Lundh

Fuzzyman michael at foord.net
Tue Jan 20 09:31:59 CET 2004


Eric Brunel <eric.brunel at N0SP4M.com> wrote in message news:<bugqir$lds$1 at news-reader2.wanadoo.fr>...
> Fuzzyman wrote:
> > There is a very interesting (and potentially useful) program on the
> > effbot website - called Tkicon.
> > 
> > http://www.effbot.org/downloads/
> > 
> > Unfortuantely the last supported version of python is 2.1
> > I've seen a few people asking, but never an answer, on Python 2.3
> > support.
> 
> This utility should not be needed anymore if you're using a recent version of 
> tcl/tk: the method wm_iconbitmap on toplevel's, that didn't work on earlier 
> versions of tk on Windows, now works without problem. You should specifiy a .ico 
> or .icr file name as its argument. See the documentation for the corresponding 
> tk command at:
> http://www.tcl.tk/man/tcl8.3/TkCmd/wm.htm#M15
> 

Hmmm..... reading the documentation makes things less clear :-)

How about :

test = tkinter.Toplevel(wm_iconbitmap='test.ico') 
???? I'll try that ;-)
Anyway - thanks for the help - once I work out the proper Tkinter
format then I'm sure it will work.........

Fuzzy

> HTH



More information about the Python-list mailing list