On Tue, 2008-09-30 at 12:53 +0200, Timo wrote: > I want to download a file by pressing a button in my GUI, all works so > that's okay. Offcourse my GUI locks up during the download. > I tried some things like writing a thread and using gobject.idle_add. > But none of these worked. > Anyone can point me out to some kind of example or tutorial?
The thread approach should work fine. You must have made a mistake somewhere. I use this approach when using threads in gtk applications http://www.johnstowers.co.nz/blog/index.php/2007/03/12/threading-and-pygtk/ John > > Thanks. > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
