Il giorno 12/ago/2011, alle ore 22.24, Martin Landa ha scritto:

> Hi,
> 
> 2011/8/12 massimo di stefano <[email protected]>:
>> how can i interact whit this new generated canvas ?
> 
> use wxGUI map display functionality...

so, after a sequence of 

d.mon start=wx0
d.rast map=map

then is possible to use wx.GUI functionality (api?) to interact whi "wx0" ?
which class i need to import in the python module in order to capture the mouse 
on-click signal ?

in the wxgui code, where can i find the lines of code that refer to mouse 
mapcanvas picking ?
thanks for any usefull hints!

--Massimo.


> 
>> i tried to use "d.where" but seems to me that it is is not connected to the
>> active/selected map-display.
> 
> d.mon is a quite new creature in G7, `d.where` is not connected to the
> wx monitors.

.

> -- 
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to