[Python-Dev] Event loops, PyOS_InputHook, and Tkinter

Michiel Jan Laurens de Hoon mdehoon at c2b2.columbia.edu
Thu Nov 10 06:40:47 CET 2005


Stephen J. Turnbull wrote:

>    Michiel> What is the advantage of Tk in comparison to other GUI
>    Michiel> toolkits?
>
>IMO, Tk's _advantage_ is that it's there already.  As a standard
>component, it works well for typical simple GUI applications (thus
>satisfying "batteries included" IMO), and it's self-contained.  So I
>would say it's at _no disadvantage_ to other toolkits.
>
>Alternatives like PyGtk and wxWidgets are easily available and provide
>some degree of cross-platform support for those who need something
>more/different.
>
>Is there some reason why you can't require users to install a toolkit
>more suited to your application's needs?
>  
>
My application doesn't need a toolkit at all. My problem is that because 
of Tkinter being the standard Python toolkit, we cannot have a decent 
event loop in Python. So this is the disadvantage I see in Tkinter.

--Michiel.


-- 
Michiel de Hoon
Center for Computational Biology and Bioinformatics
Columbia University
1150 St Nicholas Avenue
New York, NY 10032




More information about the Python-Dev mailing list