Hi Denis

you can do that by triggering identify action (will call setMapTool for you):
>>> iface.actionIdentify().trigger()

Martin


On Mon, Nov 11, 2013 at 10:01 PM, Denis Rouzaud <[email protected]> wrote:
> Hi all,
>
> Following Thomas' question, I wonder if it is possible to set a QGIS map
> tool using setMapTool.
>
> The map tools are private variable so I suppose it's impossible for example
> to set the identify map tool as the current tool.
>
> Am I wrong?
>
> Thanks,
>
> Denis
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to