<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div id="ydp268906bfyahoo_quoted_5133914720" class="ydp268906bfyahoo_quoted">> On Tuesday, March 2, 2021, 1:19:53 PM EST, Claude Heiland-Allen <claude@mathr.co.uk> wrote:
                
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div><br></div>
                <div>> On 02/03/2021 17:45, Jonathan Wilkes via Pd-list wrote:</div><div><div dir="ltr"><div class="ydp268906bfyqt8330676757" id="ydp268906bfyqtfd41551"><br clear="none">> > On Tuesday, March 2, 2021, 11:10:36 AM EST, Alexandre Torres Porres <br clear="none">> <<a shape="rect" href="mailto:porres@gmail.com" rel="nofollow" target="_blank">porres@gmail.com</a>> wrote:<br clear="none">><br clear="none">> > Hi, I was asking people on facebook where did they get the idea of <br clear="none">> putting names in inlets/outlets, like: [inlet <br clear="none">> this-inlet-controls-frequency].<br clear="none">><br clear="none">> Not sure. But A_DEFSYM and A_DEFFLOAT are implemented in a way that <br clear="none">> allows an arbitrary number of extra float/symbol arguments, so it <br clear="none">> could be `[inlet this inlet controls frequency]`. Or following the <br clear="none">> `[get]` and `[set]` pattern-- `[inlet - this inlet controls <br clear="none">> frequency]` to skip over the first arg that is currently used for <br clear="none">> up/downsampling.<br clear="none">><br clear="none">> Someone asked on the Purr Data list about this. It would be easy to <br clear="none">> implement, but it doesn't cover the case of setting a description for <br clear="none">> the object itself. Plus I'd much rather just leverage the <br clear="none">> documentation index in the GUI to look up tooltip data.<br clear="none">><br clear="none">> -Jonathan</div><div><br></div><div>> <a shape="rect" href="https://download.puredata.info/dev/InletDescriptions" rel="nofollow" target="_blank">https://download.puredata.info/dev/InletDescriptions</a></div><div><br></div><div dir="ltr" data-setdir="false">Yeah, perhaps they got it by somehow discovering that ancient scroll. :)<br></div><br><div dir="ltr" data-setdir="false">Anyhow, Albert Graef recently made a nice caching system for the Purr Data doc index. Leveraging that, I *think* I can now add tooltips, completely in the GUI of Purr Data, and only require a single extra string to be sent from the backend on object creation. At that point tooltips would be the cost of essentially looking up a key in JSON, and the cost of the additional DOM element to display it on hover (which would be zero if tooltips are disabled).</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">-Jonathan<br></div></div></div>
            </div>
        </div></div></body></html>