--- On Mon, 7/11/11, Hans-Christoph Steiner hans@at.or.at wrote:
From: Hans-Christoph Steiner hans@at.or.at Subject: Re: [PD] Pd-extended 0.43 updates: lots of new editing features To: "Jonathan Wilkes" jancsika@yahoo.com Cc: "Ivica Ico Bukvic" ico@vt.edu, pd-list@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?
I mean, what happens in Max if the user happens to send the message "assist" to an inlet?
-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.