Saturday, May 10, 2008

Python, GTK and threads

Note to self: Before start threading a Python GTK-program call gtk.gdk.threads_init() otherwise will strange thing happen. The call must be done before gtk.main().

3 comments:

Anonymous said...

Well, thanks !

Andrés said...

Wow! Thanks! Saved my day! =D

Anonymous said...

wonderfully titled advice, as well. top google hit on "GTK python threading" provides a one sentence answer to my problem. How often does that happen?

"I'm feeling lucky..."