[Qgis-developer] pointers in PyQt

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


Hi,

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?

Thanks,

Denis

http://qgis.org/api/classQgsRubberBand.html#a8dac7b95e31640a8808c6620930aba7
-------------- 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