[sugar] pygtk's ".defs" files, and wrapping interfaces for python extensions
Don Hopkins
dhopkins
Sun Mar 4 20:11:07 EST 2007
Can somebody please tell me where I can find some documentation on the
.defs files used by pygtk, pangocairo, etc?
It look like that is an alternative to SWIG for integrating C code with
Python. Is it preferred? Does it work with other languages?
Will it save memory or work better to use that ".defs" file based
interface generator instead of SWIG?
I'm trying to figure out how best to integrate poppler into Python, and
pass a Cairo context into it (which was wrapped by pycairo), so it can
go to town drawing PDF through Cairo.
And it seems that one way to do that might be to add it into pygtk's
cairo/pango interface, or into pycairo, but I don't know the politics
involved in that, or if it's easier to make a separate project for poppler.
Any suggestions please? Thanks a lot!
-Don
More information about the Sugar-devel
mailing list