Hi... I want to port the main and GUI of a gtk+ C applications to python. I used SWIG to generate the interface.
But now i have the problem that i have a C struct which contains some gtk widgets. i need to add a widget from the struct to my PyGtkWindow so i have to instruct SWIG that element scrollwin is a PyGtk_Object. I think i could dynamically link to _gtkmodule.so and use PyObject *PyGtk_New( GtkObject *o ) from my wrapper code. But this seems problematic for a distribution because i need ld.so to find the _gtkmodule.so or get the path from python somehow... are there other possibilities to do this kind of stuff ? did anybody do something similar ? --- Torben Hohn http://galan.sourceforge.net _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/