[GRASS-dev] switch active window on Map Display

Margherita Di Leo dileomargherita at gmail.com
Mon Aug 8 10:23:29 EDT 2011


Hi Devs,

within my GSoC project [0] I'm working on the preview function in wxpython,
that allows the user to select a point on canvas and to see the preview of
the hydrological simulation over a small region of which the selected point
is the center. So I have to get the position of the point from Map Display.
My issue is that I have to switch from r.stream GUI to Map Display as the
active panel. I also am looking at [1] but profile.py does not have this
problem, because its parent frame is map display itself, so it doesn't have
to switch on canvas. So I am looking for suggestions on how to do that.

Thanks in advance,

madi


[0] http://grass.osgeo.org/wiki/Wx.stream_gsoc2011
[1]
http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/gui_modules/profile.py

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20110808/9e655d74/attachment.html


More information about the grass-dev mailing list