[GRASS-dev] Re: [GRASS GIS] #1425: error in python _core.py from
wxNVIZ
GRASS GIS
trac at osgeo.org
Sun Aug 21 21:32:25 EDT 2011
#1425: error in python _core.py from wxNVIZ
---------------------------+------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: mouse, wxNVIZ | Platform: Unspecified
Cpu: Unspecified |
---------------------------+------------------------------------------------
Comment(by cmbarton):
Some testing results.
self.ReleaseMouse() is needed in order to be able to place a north arrow
or scale bar with the mouse. Why is this? I inserted a self.HasCapture()
command to test whether or not the window is somehow capturing the mouse,
but it is not.
The ReleaseMouse() command is to release the mouse following the
CaptureMouse(). But I cannot see that the CaptureMouse() command has been
issued anywhere. This is why ReleaseMouse() raises an error in the
OnLeftUp mouse button handler.
What is not at all clear is what ReleaseMouse() is doing to make the north
arrow and scalebar placement possible. Any thoughts on this?
Michael
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1425#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list