[Qgis-developer] how to toggle layer in legend with Python?

G. Allegri giohappy at gmail.com
Wed Nov 7 04:57:22 PST 2012


Bear with me, QgsMapCanvas.setCurrentLayer() was enough :)

giovanni

2012/11/7 G. Allegri <giohappy at gmail.com>

> AFAICS there's no method to toggle a layer in legend through the legend
> interface (at leat in 1.8 API)
> Is there some way to do it?
>
> thanks,
> giovanni
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121107/a9efd1ba/attachment.html>


More information about the Qgis-developer mailing list