Hi Michael, thanks for answering. I actually did not find a function to pick the coordinates of a point by a mouse click, could you please point me the function that I should use?
Thanks in advance, madi On Tue, Aug 16, 2011 at 2:47 AM, Michael Barton <[email protected]>wrote: > Maid, > > There are already methods for capturing mouse clicks and drags in the > several modules that control the display. This is clear given the fact that > you can use a mouse to measure, zoom, profile, etc. Please do not add new > ones. Use the existing classes and methods. > > Michael Barton > School of Human Evolution &Social Change > Center for Social Dynamics & Complexity > Arizona State University > > ...Sent from my iPad > > On Aug 15, 2011, at 1:04 PM, "[email protected]<mailto: > [email protected]>" <[email protected] > <mailto:[email protected]>> wrote: > > Date: Mon, 15 Aug 2011 19:17:48 +0200 > From: Margherita Di Leo <<mailto:[email protected]> > [email protected]<mailto:[email protected]>> > Subject: [GRASS-dev] catch mouse click from MapDisplay > To: <mailto:[email protected]> [email protected]<mailto: > [email protected]> > Message-ID: > <<mailto: > ca+v6zhwfsg3tzdfdu-0ypv5wpdrw9mqw_nnrn3ckni1ddgo...@mail.gmail.com> > ca+v6zhwfsg3tzdfdu-0ypv5wpdrw9mqw_nnrn3ckni1ddgo...@mail.gmail.com<mailto: > ca+v6zhwfsg3tzdfdu-0ypv5wpdrw9mqw_nnrn3ckni1ddgo...@mail.gmail.com>> > Content-Type: text/plain; charset="utf-8" > > 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<tel:+39-0971205360> > -- 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
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
