On 05/14/2013 02:56 PM, Etienne Tourigny wrote:


On Tue, May 14, 2013 at 6:21 PM, David J. Bakeman <[email protected]> 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)
Sorry for the typo yes that is exactly what I tried.  Does it work for you?



The above seems like it should work but it doesn't.

Thanks.

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user



_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to