[Tutor] PY-Tkinter Title Bar Icon
Alan Gauld
alan.gauld at btinternet.com
Tue Feb 22 03:51:24 CET 2011
"Ganesh Kumar" <bugcy013 at gmail.com> wrote
> I am new to python Tkinter..I want Title Bar Icon..
> plz..Guide me to set up icon in Title Bar.
Last time I looked it was possible to do that
under X Windows but not under MS Windows.
(I dont know about MacOS/Quartz)
It was a bug in the underlying Tk toolkit.
But there has been a new release of Tk
since then so it may be fixed...
Try experimenting with:
self.top.iconbitmap()
self.top.iconname()
self.top.iconwindow() # and use an image Label...
You might get lucky...
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list