On Tuesday, December 15, 2015 12:23:21 PM Sheehan Olver wrote: > Ah OK, so this is built using Gtk.jl?
Right. The "dragging" function in src/select.jl (a mere 10 lines of code) basically does everything you want; most of the rest of that file is all about figuring out which plot points were inside the lassoed region, which is a much harder problem. --Tim > > > On 15 Dec 2015, at 11:50 AM, Tim Holy <[email protected]> wrote: > > > > Check out the code in Immerse for lasso selection. > > > > --Tim > > > > On Monday, December 14, 2015 04:39:47 PM Sheehan Olver wrote: > >> Is there any GUI package that would support "drawing" with a Mouse? > >> I.e., > >> I want to recognize mouse down, track the cursor until mouse up, and draw > >> the pixels to trace the path of the cursor. > >> > >> If not, on a Mac, would Cocoa+Swift+Julia or Cocoa+Objective-C+Julia be > >> the > >> easiest option? So write the GUI code natively, which talks to a Julia > >> back-end. (I'm not too fussed that this would make it Mac-only.)
