Hi, I would suggest to add to the documentation the QgisInterface https://qgis.org/api/classQgisInterface.html mentioning it's only available when doing plugins as it would be annoying to go back and forth between C++ and Python API just for this.
Waiting for feedback. If Ok, then I will open a ticket to ask for the improvement. I'm also wondering if there is a category for PyQGIS API documentation? Cheers Thomas Gratier
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer