[Qgis-developer] Create groups in python plugins

Andres Manz manz.andres at gmail.com
Wed Nov 4 05:37:17 EST 2009


Hi there,

I'm writing a little plugin for adding new maps, extracted from zip files.
Everything's fine, I extract the zip file and add a few layers.
Then I need to add a new group (for a country), but up to now,
I could not find a way to do that over QgisInterface.

Is there a way to add new groups in a python plugin, just like selecting
"Add group"
when right-clicking in the layer view?

Regards
Andres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091104/62de580d/attachment.html


More information about the Qgis-developer mailing list