[Qgis-developer] How to control map canvas "decorations" from Python ?

Tom Chadwin tom.chadwin at nnpa.org.uk
Fri Jan 6 07:02:03 PST 2017


Hi Bo

Try:

QgsProject.instance().readBoolEntry("ScaleBar", "/Enabled", False)[0]

or something close to that.

Thanks

Tom



-----
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Channel-network-and-drainage-basins-DLL-file-gdal-MrSID-dll-tp5302246p5302312.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list