[PD] how to capture window-related mouse-events when toxy is discontinued?
jancsika at yahoo.com
Wed Nov 2 18:23:28 CET 2011
----- Original Message -----
> From: João Pais <jmmmpais at googlemail.com>
> To: katja <katjavetter at gmail.com>; "pd-list at iem.at" <pd-list at iem.at>; Jonathan Wilkes <jancsika at yahoo.com>
> 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
>> Are you in edit mode in that video? If so, data structures will react
>> 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.
> unless that's not a data structure,
> but a canvas with a small selection square.
More information about the Pd-list