<div dir="ltr">Hello,<div><br></div><div>I'm working in a user function for expression builder to retrieve a x and y values of a map extents in a print composer. The idea is to be able to use it in label to label the map corners.</div>
<div><br></div><div>I know I can get all active (opened) composers by doing:<br></div><div><br></div><div>composers = iface.activeComposers()<br></div><div><br></div><div>It gives me a list of QgsComposerView, that I can select by the list index. But how can I know the position of the QgsComposerView in which I'm using the function (by using it in a label)?</div>
<div><br></div><div>Many thanks,</div><div><br></div><div>Alexandre Neto</div><div><br></div><div><br></div></div>