[GRASS-dev] catch mouse click from MapDisplay

Hi Devs,

For my GSoC project I am looking for a way to catch the coordinates of a point by a mouse click over the Map Display. I was wondering if it’s more “wise” to edit the existing mapdisp_window.py file or define my own OnLeftDown function in my code, which would override the one of class BufferedWindow, or? As I am not allowed to edit the core source code, I ask you devs what is better to do.

Thanks,

madi


Eng. Margherita Di Leo
Ph.D. Candidate
Methods and Technologies for Environmental Monitoring
Department of Environmental Engineering and Physics (DIFA)

University of Basilicata
Campus Macchia Romana
85100 - Potenza
Italy

Office: +39-0971205360