[PD] Clickable gop data structures

Jamie Bullock jamie at postlude.co.uk
Tue Jun 5 10:39:00 CEST 2007


Hi,

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...


Jamie





More information about the Pd-list mailing list