Hi list!In QGIS 3.16 a right-click context menu was added to the map canvas: https://www.qgis.org/en/site/forusers/visualchangelog316/index.html#add-context-menu-to-map-canvas
How can we disable that via PyQGIS?https://qgis.org/pyqgis/master/gui/QgsMapCanvas.html lists a "contextMenuEvent" method but does not provide any documentation at all.
The environment is a QGIS based standalone application. Cheers, Hannes
OpenPGP_0xBF7B268A77C202D5.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ 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