[Qgis-user] How to get a composition name with python?
Pablo Carreira
pablotcarreira at hotmail.com
Tue May 24 13:54:30 PDT 2011
Hi,
In python console:I want to populate a list with compositions names, like in Composer Manager, but I can't figure out how to get the names (titles).
So far: composerlist = self.iface.activeComposers()
And I get a list of QgsComposerView objects.
Now I want something like that:
for item in composerlist: print item.title() Thank you.
Pablo Torres Carreira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110524/2cbbca16/attachment.html>
More information about the Qgis-user
mailing list