Tkinter window

Cameron Laird claird at lairds.com
Wed Jul 9 00:15:48 EDT 2003


In article <bee54v$nh8$1 at stargate1.inet.it>, furliz  <furliz at libero.it> wrote:
>Learning Python, I'm making some exercise of little GUI application with 
>Tkinter. I'd like to know if is it possible to customize the little 'Tk' 
>icon on the top-left corner of the main window ( Tkinter.Tk() ).
>
>Thanks to evryone who will resolve me this 'big' doubt :))
>

Yes.

I suspect
  win.wm_iconbitmap( "@canvas_icon.xbm" )
(credit Chad Netzer for this example) is the answer you seek.

This is a sufficiently FAQ that we need to make room for it
in the Wiki ...
-- 

Cameron Laird <Cameron at Lairds.com>
Business:  http://www.Phaseit.net
Personal:  http://phaseit.net/claird/home.html




More information about the Python-list mailing list