Tkinter vs. wxPython (was: Which GUI?)
herzog at online.de
Sat Feb 26 10:28:19 EST 2000
Guido van Rossum <guido at cnri.reston.va.us> writes:
> Arguments against Tkinter:
> - It doesn't let you handle your own paint events; you have to use the
> canvas widget. Occasionally (as when drawing animations or large
> bitmaps) that's annoying and slow, because you have to create and
> destroy tons of small objects.
It isn't very difficult to work around this limitation with a
C-extension module, at least in a platform specific manner. Sketch for
instance has such an extension module for Unix/X platforms which is
largely based on the X-extension. It lets you effectively implement a
widget completely in Python including handlers for exposure events.
If anybody's interested, I can easily release it separately from Sketch.
Bernhard Herzog | Sketch, a drawing program for Unix
herzog at online.de | http://sketch.sourceforge.net/
More information about the Python-list