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().

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..."

Popular posts from this blog

Circles in PostGIS

Create your own CA with TinyCA2 (part 1)

Create your own CA with TinyCA2 (part 2)