On Tue, May 14, 2013 at 6:21 PM, David J. Bakeman <dbake...@comcast.net>wrote:

>  Is it possible to create a group within a group in python?
>
> li = qgis.utils.iface.legendInterface()
> g1 = li.addGroup("g1")
> g2 = li.addGroup("g2", g2)
>

did you try this?

g2 = li.addGroup("g2", g1)


>
> The above seems like it should work but it doesn't.
>
> Thanks.
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to