<div dir="ltr">Hello all,<div><br></div><div>For an expression function I'm trying to select a composition by searching for the composer name/title.</div><div><br></div><div>I know I can get all active composers by using:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">composers = iface.activeComposers()</blockquote><div><br></div><div>I can then access to the QgsComposerView by iterating the composers list:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">for composer_view in composers:<br>    print composer_view</blockquote><div><br></div><div>and that in the composerview there is a QgsComposition:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">composition = composer_view.composition()</blockquote><div><br></div><div>But where can I check for the composition title or name? Can't seem to find it anywhere...</div><div><br></div><div>Thanks,</div><div><br></div><div>Alexandre Neto </div></div>