Re: Status report 'Refactoring Deskbar-Applet' 02.07.2007



Hi !

> I see gtk.main() isn't surrounded by gdk.threads_enter/leave(). It's
> probably not the case in python but in C you have to surround mainloop
> by locks:
> 
> http://developer.gnome.org/doc/API/2.0/gdk/gdk-Threads.html
> 

I can recommend reading this blog post:
http://research.operationaldynamics.com/blogs/andrew/software/gnome-desktop/gtk-thread-awareness.html

it explains the threading stuff for gtk in details quite well..

Raf




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]