[Qgis-developer] pointers in PyQt

Alexandre Badez alexandre.badez at gmail.com
Wed Mar 7 04:30:57 EST 2012


Hi,

Try None.

On Wed, Mar 7, 2012 at 10:28, Denis Rouzaud <denis.rouzaud at gmail.com> wrote:
> 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
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Alex


More information about the Qgis-developer mailing list