[PD] Pd-extended 0.43 updates: lots of new editing features
Hans-Christoph Steiner
hans at at.or.at
Mon Jul 11 06:23:37 CEST 2011
On Jul 11, 2011, at 12:01 AM, Jonathan Wilkes wrote:
>
>
> --- On Mon, 7/11/11, Hans-Christoph Steiner <hans at at.or.at> wrote:
>
>> From: Hans-Christoph Steiner <hans at at.or.at>
>> Subject: Re: [PD] Pd-extended 0.43 updates: lots of new editing
>> features
>> To: "Jonathan Wilkes" <jancsika at yahoo.com>
>> Cc: "Ivica Ico Bukvic" <ico at vt.edu>, pd-list at iem.at
>> Date: Monday, July 11, 2011, 4:24 AM
>>
>> On Jul 10, 2011, at 2:00 PM, Jonathan Wilkes wrote:
>
> [...]
>
>>> Where would one define the standard function?
>>
>> On page 32 of this document:
>> http://peabody.sapp.org/class/dmp2/read/WritingMax_MSPExternals.pdf
>>
>> You can see the 'assist' message.
>
> If I'm understanding this correctly, "addmess" is analogous to
> class_addmethod (I guess if we made it standard, we could do
> class_addtooltip or something). But then this would break [list],
> for example, or any object that currently has an anything method
> defined. Or am I misunderstanding the model?
Yes, addmess() is class_addmethod(). No need for a special function,
class_addmethod() would do it.
> I mean, what happens in Max if the user happens to send the message
> "assist" to an inlet?
Yeah, that would claim the message 'assist' in all objects. I just
did a quick survey of all objects in the pure-data SVN. None of them
use 'assist'.
.hc
>
> -Jonathan
>
>> The Max GUI sends
>> the 'assist'
>> message to an objectclass when you hover above an inlet or
>> outlet,
>> then its up to the objectclass to implement a function
>> which copies
>> the text into a provider buffer. Then the Max GUI
>> displays that text.
>>
>> I guess we might as well just copy the interface of
>> Max/MSP. It seems
>> very Max/Pd-ish, and straightforward.
>>
>>>> Pd would
>>>> then check whether an object had that function
>> when it
>>>> loaded the
>>>> binary, and if so register it in the tooltips.
>>>
----------------------------------------------------------------------------
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out
how to use my telephone." --Bjarne Stroustrup (creator of C++)
More information about the Pd-list
mailing list