Tkinter vs wxPython: your opinions?

Vadim Zeitlin zeitlin at seth.lpthe.jussieu.fr
Mon Jan 29 10:01:17 EST 2001


On 29 Jan 2001 15:02:01 +1100, Timothy Docker <timd at macquarie.com.au> wrote:
>Neither tkinter or wxWindows are thread-safe in the sense that
>multiple threads can make arbitrary GUI calls simultaneously (I'm not
>aware of any GUI toolkits that are thread-safe in this sense).

 This is not completely true: wxWindows does support multiple GUI threads
but they are still multiplexed internally using a mutex. So, in principle,
you can have multiple GUI threads running simultaneously as the thread sample
in wxWindows distribution shows (it is in C++ though).

 However, having only one GUI thread and several worker threads is by far the
preferred approach.

 Regards,
VZ

-- 
GCS/GM d? H+ s++:-- p2 au--- a- w+ v C+++ UBLS+++ P- L++ N++ E--- W++++ M? V--
-po+ R++ G`` !tv b+++ D--- e++++ u++ h--- f+ r++ n- y?



More information about the Python-list mailing list