News for hackers. Stuff that matters.
Re:Create Python GUIs using HTML (And Webkit and GTK) by epage on Thursday April 30, 2009 @04:12PM (#587439)
gtk.threads_enter()

try:

   blah
finally:

   gtk.threads_leave()
or even better and wrap that as a context manager so you do

with gtk_lock():

   blah

There are no comments on this comment yet.