Hi,

I try to wrap some c functions for python (pygtk) use and followed
pygtk FAQ and Ross Burtons instruction ('Wrap GObjects in Python'). So
I use:

pygobject_new((GObject*) widget);

to return a pygtk object. This works fine for not existing c widgets
and it creates a new pygtk widget. However for existing c widget it
returns None (in the worst case when the c fuctions includes a
lookup_widget call I get a segmentation fault). Any help is much
appreciated.

Cheers,

B
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to