One person I've discussed the slides with suggested listing benefits of
wxPython over tkinter. Since this is probably a question Python coders ask
themselves quite a lot given that tkinter is distributed with Python and
wxPython is not, I thought it would be a good list topic to rehash to get
current views on the matter.
BTW, don't say "native widgets" since AFAIK the tkinter shipping with Python
these days uses native widgets.
One person I've discussed the slides with suggested listing benefits of
wxPython over tkinter. Since this is probably a question Python coders ask
themselves quite a lot given that tkinter is distributed with Python and
wxPython is not, I thought it would be a good list topic to rehash to get
current views on the matter.
People usually mention the depth and breadth** of the widgets and window
types available. You can print with wxPython, which last I checked you
can't do with Tkinter. Also, I'm not sure if it matters anymore with
today's speedy processors, but after the initial startup-time almost
everything you do in wxPython is faster than the equivallent in Tkinter.
** IOW, the amount of functionality and the number of classes.
BTW, don't say "native widgets" since AFAIK the tkinter shipping with
Python
these days uses native widgets.
Nativ^H^H^H^H^H
Na^H^H
Native Widgets! (Sorry, it just slipped out.)
Seriously, I saw a quick demo the other day of a scientific app using
Tkinter and Python 2.2 (or maybe 2.1...) running on Windows XP and it was
definitly *not* using native widgets, not even the old-style win32 widgets
that I think you get on XP if your app doesn't have the "manifest" resource.
The buttons, scrollbars and other controls all had the Motif-like look and
feel that Tk has always emulated. To be fair I don't know enough about
Tkinter to know if this is typical or an exception.
ยทยทยท
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!