[Qgis-developer] Python: how to find all children of a group?

Andreas Neumann a.neumann at carto.net
Wed Nov 23 09:53:16 EST 2011


 Hi,

 I am trying to get a list of layers that are the children of a group 
 with a certain group index (or even better by layer name).

 I can't figure out how to do this properly with the QgsLegendInterface 
 object.

 Does one have a piece of code how to accomplish this?

 Thanks,
 Andreas

-- 
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland


More information about the Qgis-developer mailing list