Hello all,

For an expression function I'm trying to select a composition by searching
for the composer name/title.

I know I can get all active composers by using:

composers = iface.activeComposers()


I can then access to the QgsComposerView by iterating the composers list:

for composer_view in composers:
>     print composer_view


and that in the composerview there is a QgsComposition:

composition = composer_view.composition()


But where can I check for the composition title or name? Can't seem to find
it anywhere...

Thanks,

Alexandre Neto
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to