Hi Martin,

Thanks a lot for your answer.

It does bring me a bit further!

But I was looking for setting the "run action feature" map tool (I took identify as an example).

I see the function returning the action for it is missing. Do you know if it's intended or not?

Thanks again,

Denis

On 11/12/2013 04:12 AM, Martin Dobias wrote:
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