On Tue, Jun 05, 2007 at 11:45:37AM +0200, Frank Barknecht wrote: > > 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.
I seem to remember a release where this detects just plain old mouse clicks (i.e. no drag or modification) so that you could build your own 'toggle' for example. Am I just dreaming that or is it real? I can't find anything in the docs about the struct output, though I know I've used it before. Chris. ------------------- http://mccormick.cx _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
