[PD] Outlet on 'struct' object

Mike McGonagle mjmogo at gmail.com
Sat Jan 10 06:49:47 CET 2009


Yeah, this is really nice. One thing I noticed was that if I click and
hold directly over the drawn line connected to the active float inlet,
you can drag and it sends a 'change' message, it also redraws the line
by following the mouse. Is there anyway to get the mouse coordinates
such that it can be used as input to control the struct data? It would
be really nice if this type of thing could be abstracted to allow for
a variable number of inlets to switch.

Mike

On Fri, Jan 9, 2009 at 10:29 PM, Luke Iannini <lukexipd at gmail.com> wrote:
> That's extremely nice - good stuff.  I didn't know GOP datastructures
> could be done so easily now; I remember it being weirder.
>
> I'd love to start a collection of GUI objects like this -  looks like
> the "change" selector is working as well, so perhaps an "advanced
> slider" can finally be done!  Mind if I add it to a "ds-gui" section
> in SVN?
>
> Thanks for sending it along
> Luke
>
> On Fri, Jan 9, 2009 at 4:30 PM, Jonathan Wilkes <jancsika at yahoo.com> wrote:
>> I made a clone of max's "gswitch" using the click selector a while back.  With 0.42, you can click the gop window to switch inputs.
>>
>>
>>
>> --- On Sat, 1/10/09, Mike McGonagle <mjmogo at gmail.com> wrote:
>>
>>> From: Mike McGonagle <mjmogo at gmail.com>
>>> Subject: Re: [PD] Outlet on 'struct' object
>>> To: pd-list at iem.at
>>> Date: Saturday, January 10, 2009, 1:06 AM
>>> Ok, I tried it on the sequence example, and it only seems to
>>> output
>>> stuff in Edit Mode. Is that correct? Plus, it also seems to
>>> only
>>> output 'select' and 'deselect' messages. It
>>> also seems to repeatedly
>>> output them when you 'select' and drag an object.
>>>
>>> Is this a new feature? (I seem to remember reading
>>> something about
>>> mouse events for structs in 42) Are there any examples of
>>> how these
>>> are used?
>>>
>>> Mike
>>>
>>> On Fri, Jan 9, 2009 at 4:42 PM, Frank Barknecht
>>> <fbar at footils.org> wrote:
>>> > 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
>>> >
>>>
>>>
>>>
>>> --
>>> Peace may sound simple—one beautiful word— but it
>>> requires everything
>>> we have, every quality, every strength, every dream, every
>>> high ideal.
>>> —Yehudi Menuhin (1916–1999), musician
>>>
>>> _______________________________________________
>>> Pd-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>
>>
>



-- 
Peace may sound simple—one beautiful word— but it requires everything
we have, every quality, every strength, every dream, every high ideal.
—Yehudi Menuhin (1916–1999), musician




More information about the Pd-list mailing list