[Qgis-developer] Create groups in python plugins

Martin Dobias wonder.sk at gmail.com
Wed Nov 4 07:08:36 EST 2009


On Wed, Nov 4, 2009 at 11:37 AM, Andres Manz <manz.andres at gmail.com> wrote:
> 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?

Hi Andres,

unfortunately this is currently not possible.

Regards
Martin


More information about the Qgis-developer mailing list