--- On Sat, 7/16/11, Mathieu Bouchard matju@artengine.ca wrote:
From: Mathieu Bouchard matju@artengine.ca Subject: Re: [PD] Pd-extended 0.43 updates: lots of new editing features To: "Jonathan Wilkes" jancsika@yahoo.com Cc: "Martin Peach" martin.peach@sympatico.ca, "pd-list" pd-list@iem.at Date: Saturday, July 16, 2011, 5:54 PM On Wed, 13 Jul 2011, Jonathan Wilkes wrote:
I'm not doing it that way. I'm looking up the
xlet info in the help patch in [pd META] when the xlet is created, then putting the relevant text as an argument to the command that gets "bind"ed to the xlet tag's <Enter> and <Leave> events.
Better to just add a few lines of tcl to gather the
relevant info from your help docs.
I wonder whether there might be any other reasons to have an assist-method in a way that can't be done in any other way. What are the possible use for the tooltips ?
1. Tell the name of the inlet. This is not an info already present in the class, and usually not in the docs either.
My tooltips do that.
2. Tell the list of methods.
My tooltips do that.
3. Tell the value last put in an inlet, if it's currently stored (and if the concept makes sense for that particular inlet).
If this is desired, then it's probably better to do everything except draw the tooltip window on the c side.
4. Other. (which uses ?)
That's plenty. The only thing that sucks harder than being annoyed by tooltips is being annoyed by gigantic tooltips <-[gigantic tooltips have lots and lots and lots of text inside them. They were designed by geniuses who think that informative paragraphs of text are important enough to interrupt the main interface view, yet ephemeral enough that a single accidental mouse movement of 2 pixels can cause the whole tooltip to].
I think that you are mostly only thinking about #2, and Günter's system was only taking care of #1, and I think that there was a pd-list discussion about something like #3 a long time ago.
I don't know what's available in MAX, and I don't think that it necessarily has to be implemented in the same way.
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC