On Tue, May 14, 2013 at 7:02 PM, David J. Bakeman <[email protected]>wrote:

>  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?
>

never tried... I guess it depends on your qgis version. This has been
improved in 1.9 (upcoming 2.0), not sure how it works in 1.8


>
>
>>
>> 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