From: Eric B. <eri...@gm...> - 2008-07-30 00:58:28
|
I wanted something more precise (and easier on the carpal tunnel) than the included Lasso widget. Inspired by the existing Lasso, I forked out an alternate approach that creates a polygon with mouse clicks and returns a list of vertices to a callback function. See the attached for a demo. It's been tested with WxAgg running off recent svn. I'm using idle_event, which isn't mentioned in the docs for the released version. If there's interest, I'll put together a patch to add this to widgets.py. Thanks, Eric B |