<p dir="ltr">You can act on it but you can't custom gui widgets to the Composer interface.<br>
I cannot check the code right know. I listen to a specific (existing) composition opening but if I remember correctly you can watch the Composer opening too. </p>
<div class="gmail_quote">Il 22/giu/2015 17:19, "Jakob Lanstorp" <<a href="mailto:jlanstorp@gmail.com">jlanstorp@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Giovanni, thanks for the update. Another solution would be to catch the<br>
event when a user starts an existing print composer. Cannot in doc for the<br>
pyqgis API find anything for this. Anyone who know is one can listens for a<br>
print composer to startup by the user and act on it.<br>
<br>
<br>
<br>
-----<br>
Jakob Lanstorp<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Building-plugin-for-Print-Composer-tp5212187p5212221.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/Building-plugin-for-Print-Composer-tp5212187p5212221.html</a><br>
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>