Re: Threads & popup windows under mswin



On Sun, Jun 13, 2004 at 12:31:11AM +0100, Miguel Figueiredo wrote:
Hi all,

The following code is an example of what I want to do: when clicking the 
button "test" a new thread is created and inside this thread a popup window 
is shown. This works fine under linux but the program freezes under windows. 
Is this the correct way to do this?


Please search the archives. This has been explained by Tor and others a
few times on this list, the devel list, and the pygtk list.
http://www.daa.com.au/pipermail/pygtk/2004-February/006893.html

The more important question, though, is what are you trying to
accomplish? Just multithreading your GUI for the heck of it isn't a
really good idea. There's probably a better way to do what you want
that doesn't involve more than one thread.

Good luck,
--jkl



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]