faqts : Computers : Programming : Languages : Python : wxPython

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

50 of 61 people (82%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

What is wxPython? How does it compare with Tkinter?

Jul 13th, 2000 17:03
Olivier Dagenais, unknown unknown, http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin465.htm#wxpother


wxPython [ http://www.wxpython.org ] is a set of Python bindings for 
the GUI toolkit wxWindows [ http://www.wxwindows.org ], that was 
written as a C++ library to provide a platform-independant way of 
implementing rich and fast user interfaces.

-----------------------------------------------------

I chose wxPython over Tkinter (for my projects) because:
- wxWindows seems to have more widgets than Tk
- special widgets (like the TreeView) are implemented using the 
operating system's native implementations, not complete re-writes
- it's more than a "lowest common denominator" among platforms, 
wxWindows seeks to provide the same, advanced functionality on all 
platforms, even if it means they have to write a lot of code to 
complement a platform's native component
- wxWindows seems to cover more ground, in terms of functionality (it's 
more than a GUI toolkit, it also seeks to provide functions/classes for 
files, threads, printing, clipboard, networking, ODBC, etc...)
- I was *really* impressed with the wxPython demo

-----------------------------------------------------

The wxWindows documentation emphasizes the "less good" points of other 
GUI toolkits (namely Tkinter) to motivate wxPython:

http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin465.htm#wxpothe
r