On Wed, Feb 19, 2014 at 3:51 PM, Nouvelle Collection <
[email protected]> wrote:

> Thanks Chris for answer and example !
> Indeed, it works great like this (except if we release the mouse button up
> *outside* of the main Frame window : then self.InSelectMode remains "True")
>

yup, I thought of that later on -- you could:

Use wx.Window.CaptureMouse() to get that event. then you'll want to call
ReleaseMouse() in the Left up event. See:

http://www.wxpython.org/docs/api/wx.Window-class.html#CaptureMouse

-Chris

-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to