[Python-talk] UI Toolkit recommendations

Kent Johnson e-mail addresses are not shown in archives
Sun Jan 27 22:13:59 EST 2008


Peter Dobratz wrote:

> So, I'm starting to build up my application using Tkinter, and a lot of 
> things can be done with frames and buttons and text entry widgets, but 
> it seems like there is no built-in table widget (similar to the Java 
> JTable).  I did find this multi column listbox for Tcl/Tk, which looks 
> promising:
> 
> http://www.nemethi.de/tablelist/
> 
> However, I couldn't find a python wrapper.

Searching for 'tkinter table' gets a few leads, this one looks promising:
http://tkinter.unpythonic.net/wiki/SortableTable

and possibly TkTable referenced here:
http://tkinter.unpythonic.net/wiki/Widgets

> So, do I throw the baby out with the bath water and pick up wxPython or 
> PyQt just for the table widget?  I do want to be able to run the App on 
> Windows, Linux and OS X.  At first Tkinter seems like the path of least 
> resistance because it's part of the standard Python distribution, but I 
> get the impression that some other toolkits might be more polished.

The general opinion seems to be that wxPython and PyQt are more complete 
and polished than Tkinter though Tkinter does have its partisans. You 
might ask on comp.lang.python about a table widget. You might look at 
Dabo which is intended for creating database-backed applications with 
wxPython.
http://www.dabodev.com/

Kent


More information about the Python-talk mailing list