[PD] Outlet on 'struct' object

Jonathan Wilkes jancsika at yahoo.com
Sat Jan 10 00:42:25 CET 2009


The selectors I'm aware of (and the mouse behaviors that trigger them):
click (vanilla 0.42): click the object in non-editmode
change: stretch or move an object in non-editmode
select: click an object or drag-click/highlight several objects in editmode (or select-all)
deselect: click away from the object to remove the blue bounding-box in editmode (or select-none)
displace: click and drag the object in editmode

All the above work with [drawnumber], but [drawsymbol] prints "drawnumber_motion" to the console if you click and drag in non-editmode.

Clicking somewhere in an array outputs lists for each element, but I can't figure out what they point to.

I also remember seeing "activate" and "delete" somewhere in the source code, but I don't think they are implemented yet.

-Jonathan

--- On Fri, 1/9/09, Frank Barknecht <fbar at footils.org> wrote:

> From: Frank Barknecht <fbar at footils.org>
> Subject: Re: [PD] Outlet on 'struct' object
> To: pd-list at iem.at
> Date: Friday, January 9, 2009, 11:42 PM
> Hallo,
> Mike McGonagle hat gesagt: // Mike McGonagle wrote:
> 
> > I was just curious, and looking at the source was not
> all that
> > obvious, but does anyone know what the outlet on a
> 'struct' object is
> > used for?
> 
> It reports selected and clicked (and maybe more) data
> structure instances.
> Connect a [print] to it and select some objects to see the
> messages. The
> outlet sends messages composed of a selector and a
> gpointer, which you
> can route to [get] objects for example. It's pretty
> useful!
> 
> Ciao
> -- 
> Frank
> 
> _______________________________________________
> 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