Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Qgis 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()  

enter image description here

Thank you.

share|improve this question
I figured out an workaround: item.composerWindow().windowTitle() – Pablo May 25 '11 at 15:21
Can you add that as a answer then mark it as answer so that we can get it out of the qgis unanswered list. – Nathan W Apr 7 '12 at 13:52
up vote 3 down vote accepted

I figured out an workaround: item.composerWindow().windowTitle()

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.