Hi Devs,<br><br>within my GSoC project [0] I&#39;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. <br>
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&#39;t have to switch on canvas. So I am looking for suggestions on how to do that. <br>

<br>Thanks in advance,<br><br>madi<br><br><br>[0] <a href="http://grass.osgeo.org/wiki/Wx.stream_gsoc2011" target="_blank">http://grass.osgeo.org/wiki/Wx.stream_gsoc2011</a><br>[1] <a href="http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/gui_modules/profile.py">http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/gui_modules/profile.py</a><br clear="all">

<br>-- <br><span style="color: rgb(102, 102, 102);">Eng. Margherita Di Leo</span><br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);">Ph.D. Candidate</span><br style="color: rgb(102, 102, 102);">

<span style="color: rgb(102, 102, 102);">Methods and Technologies for Environmental Monitoring</span><br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);">Department of Environmental Engineering and Physics (DIFA)</span><br style="color: rgb(102, 102, 102);">

<br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);">University of Basilicata </span><br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);">Campus Macchia Romana</span><br style="color: rgb(102, 102, 102);">

<span style="color: rgb(102, 102, 102);">85100 - Potenza </span><br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);">Italy</span><br style="color: rgb(102, 102, 102);"><br style="color: rgb(102, 102, 102);">

<span style="color: rgb(102, 102, 102);">Office: <a href="tel:%2B39-0971205360" value="+390971205360" target="_blank">+39-0971205360</a></span><br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);"></span><br>
<br><br>