[Tkinter-discuss] What do you feel is missing from Tkinter?

Michael Lange klappnase at web.de
Sun Dec 19 19:29:23 CET 2010


Thus spoketh python at bdurham.com 
unto us on Sun, 19 Dec 2010 12:06:47 -0500:

> Michael,
> 
> > A few other things I miss from Tkinter:
> > support for image formats other than gif
> 
> We use PIL which adds about 700K to our Window distributions. My
> understanding is that PIL is cross platform, available for both the 2.x
> and 3.x branches of Python and both the 32-bit and 64-bit versions of
> Python. Are there problems deploying or using PIL for your customers?
> (We're developing for Windows but hope to port to other platforms in the
> future)

The problem is that the ImageTk.PhotoImage does not support alpha
channels, so some icons won't look so hot ;) 

(...)
> 
> Thanks for the Tix example. Works well, but now that we're using ttk, it
> does look a bit dated. I guess we're spoiled ;)

I made a little copy'n'paste exercise with the Pmw.ScrolledFrame code, so
here's a slightly simplified version of a Pmw.ScrolledFrame in pure
Tkinter that uses ttk. It seems to work ok (I haven't done much testing
though):

http://tkinter.unpy.net/wiki/ThemedScrolledFrame

Regards

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

You're too beautiful to ignore.  Too much woman.
		-- Kirk to Yeoman Rand, "The Enemy Within", stardate
                   unknown


More information about the Tkinter-discuss mailing list