2

I'm currently working on a QGIS plugin which uses the selected items of a vector layer containing only points. Using the current selection is quite easy but I need to react in real time to a change in the selection.

How can i do that without creating a custom selection tool. I haven't found anything in the developper cookbook or on google.

0

You can use the selectionChanged signal like mentionned in this post :

How to define an event for features selected in mapcanvas in qgis using python

  • Thank you! Now I don't even know how I missed the whole signal part of the python API after the time I spent in it ^^' – Welteam May 24 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.