On Jul 11, 2011, at 12:01 AM, Jonathan Wilkes wrote:
--- On Mon, 7/11/11, Hans-Christoph Steiner <[email protected]> wrote:
From: Hans-Christoph Steiner <[email protected]>
Subject: Re: [PD] Pd-extended 0.43 updates: lots of new editing
features
To: "Jonathan Wilkes" <[email protected]>
Cc: "Ivica Ico Bukvic" <[email protected]>, [email protected]
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++)
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list