[Qgis-developer] pointers in PyQt

Denis Rouzaud denis.rouzaud at gmail.com
Wed Mar 7 04:28:58 EST 2012


In the QgsRubberBand.addGeometry , we can specify a 0 pointer for the 
layer if we don't need its the coord transformation.

How can I do this in python?

I tried
self.rubber.addGeometry( geom , 0 )

but, of course I got an "unexpected type" error... How can I express a 0 
pointer in python?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120307/eac1f6bb/attachment.html

More information about the Qgis-developer mailing list