[PD] Clickable gop data structuresync-mailbox><next-undeleted><enter-command>set editor="vim -f +7 -s ~/.vim/mail.scr "

Luke Iannini (pd) lukexipd at gmail.com
Wed Jun 6 10:12:44 CEST 2007


Hey,
Any idea what the equivalent modifier for this is on the mac?  It
didn't seem to get the usual ctrl>command translation that the rest of
Pd did.  (ctrl-click on the mac is hardwired as "right click")  Should
I bug report it?

Luke

On 6/5/07, Frank Barknecht <fbar at footils.org> wrote:
> Hallo,
> Jamie Bullock hat gesagt: // Jamie Bullock wrote:
>
> > I'm just starting to get my hands dirty with data structures. In
> > particular GOP data structures. Inspired by Chris Mccormick's wonderful
> > s- abstractions, I'm trying to make a simple GOP transport, with
> > graphical play/stop/pause rewind etc. controls. The main showstopper at
> > the moment is that I don't seem to be able to make the UI elements
> > 'clickable'.
> >
> > Using [tot] I can detect the mouse position when clicking inside the
> > subpatch, but when the graph is on parent, this doesn't work. Of course,
> > I don't want to use [tot] in the parent, because the GOP subpatch might
> > well move.
> >
> > Is there some other way to make a clickable element? Chris's s-env
> > abstraction seems to detect ctrl-click, but It isn't obvious to me how
> > this is achieved...
>
> Nothing special here: ctrl-click is a standard feature of "array"
> fields in a data structure definition. You use it to add elements to
> the array.
>
> Some other click-detections things require more manual work: The
> [struct] object has an outlet that will send out messages if a pointer
> of that type was selected or changed. Just connect a [print] there to
> see what's happening. You can use this with [route ...] to trigger
> actions when data structures are changed.
>
> Ciao
> --
>  Frank Barknecht                 _ ______footils.org_ __goto10.org__
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>




More information about the Pd-list mailing list