[Tutor] Tkinter Icon Suse 10

Alberto Troiano alberto.troiano at gmail.com
Sat Aug 26 17:19:18 CEST 2006


Hey..thanks for the reply

I found some XBM on the PC (Suse) but still no luck
The error says that the bitmap is not defined
Was the code OK or I have to change it?

Thanks

2006/8/25, Alberto Troiano <alberto.troiano at gmail.com>:
>
> Hi everyone
>
> It's been a long time since I left Python for .NET 2003, but then again I
> need it to make an app under Linux Suse 10 and I have a question
> I'm trying to put an icon to my window...
> Here is the code so far:
>
> ###Start Code###
>
> import Tkinter
> from Tkinter import *
>
> root = Tk()
> root.iconbitmap("Change.ico")
> root.mainloop()
>
> ###End Code###
>
> It works great under Windows but on an Suse 10 Machine it complains about
> the file. Is this because the icon files are not the same as in Windows or
> should I be using another sentence to make it work?
> I know it's a dumb question but I'm out of practice and I couldn't find
> docs on Google (maybe I didn't look where I supposed to)
> Ups..I forgot, I'm using Python 2.4.1
>
> Regards
> --
> Alberto
>



-- 
Alberto Troiano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060826/47d6fb38/attachment.htm 


More information about the Tutor mailing list