From: Kevin D. <kda...@ya...> - 2006-01-24 07:23:30
|
I haven't used pyFLTK in some time, but I did have some notes on threading: pyfltk: threading -background task -must call window.show in same task as loop -otherwise don't get a GUI def fltkWindow_loop(app): app.win.show() fltk.Fl.run() asyncore.close_all() start_new_thread(fltkWindow_loop, (app,)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Kevin Dahlhausen 'Do' or 'do not.' There is no 'Try.' http://members.nccw.net/kdahlhaus/ -Yoda |