[pygtk] No ArgType for cairo_t*

BJörn Lindqvist bjourne at gmail.com
Thu Jun 11 04:50:04 WST 2009


Hello everyone,

I'm trying to wrap an interface method that takes a cairo_t* argument,
but pygobject-codegen-2.0 says:

Could not write interface proxy GtkIImageCairoShaper.draw: No ArgType
for cairo_t*

and so it won't generate the __proxy_do-function for the method. I
thought I read in the changelog that cairo_t* arguments should be
supported or do I have to wrap that function manually? If so, how? I
couldn't figure out how to convert the cairo_t pointer to a python
object.


-- 
mvh Björn


More information about the pygtk mailing list