I managed to get GTK to work pretty well with blender25 using ctypes.  The old 
PyGTK bindings didn't work that well with blender2.4x because the GTK mainloop 
did not release the GIL, and there was no ideal way to iterate the main loop 
from blender.  Thankfully ctypes releases the GIL, so threading works!  Not 
sure if updating blender data from a GTK thread can cause a crash, but with 
this simple addon that changes the scale of the selected object everything is 
ok so far.more details and source code 
here:http://pyppet.blogspot.com/2011/01/ctypes-pygtk-in-blender25.html
-brett

_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to