----- Original Message ----- > From: João Pais <jmmmp...@googlemail.com> > To: katja <katjavet...@gmail.com>; "pd-list@iem.at" <pd-list@iem.at>; > Jonathan Wilkes <jancs...@yahoo.com> > Cc: > Sent: Wednesday, November 2, 2011 12:44 PM > Subject: Re: [PD] how to capture window-related mouse-events when toxy is > discontinued? > >>> The toxy lib is discontinued in Pd-extended 0.43. Tried to find an >>> alternative, asked on the Pd forum. No solution so far. I explored gem >>> for GUI purposes, but this introduces even more dependencies. >>> Data-structures seem an option at first sight, but can not provide >>> large reactive area's (only the center pixel of an object is >>> reactive). >> >> Are you in edit mode in that video? If so, data structures will react > accordingly. >> >> In run mode there is a way to make the entire polygon reactive (instead of > just a >> little 5x5 pixel "hot spot"), but it's hacky. > > It can happen that data structures (tcl/tk) can be a bit heavy to manipulate, > and will cause dropouts. > > If it's in edit mode, the "whole polygon" will create trouble when > clicking it to position an object, no?
Well, instead of "whole polygon" I should say "all the visualizations associated with a scalar". In edit mode you'll get a bounding box around the scalar and you can drag it just as any pd object. The [struct] outlet will notify you with a "displace" msg when you do this, and you can use the pointer element from that message to get the current x and y for that scalar. -Jonathan > unless that's not a data structure, > but a canvas with a small selection square. > _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list