<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hey Andras, this is great! &nbsp;My only request is: can we call them "GUI plugins"? &nbsp;"startup plugins" sounds too vague for me. &nbsp;Also, here's a bit more documentation:</div><div><br></div><div><a href="http://puredata.info/docs/PdGuiPluginsAPI">http://puredata.info/docs/PdGuiPluginsAPI</a></div><div><br></div><div>Now I'm thinking we should start a "guiplugins" wiki folder section in the doc wiki, so like:</div><div><div><br></div><div><a href="http://puredata.info/docs/PdGuiPluginsAPI">http://puredata.info/docs/</a>guiplugins &nbsp;(this would be your page, also be called FrontPage)</div></div><div><div><div><a href="http://puredata.info/docs/PdGuiPluginsAPI">http://puredata.info/docs/</a>guiplugins/<a href="http://puredata.info/docs/PdGuiPluginsAPI">GuiPluginsAPI</a></div></div></div><div><div><div><div><a href="http://puredata.info/docs/PdGuiPluginsAPI">http://puredata.info/docs/</a>guiplugins/ExamplePlugins</div></div></div></div><div><br></div><div>How does that sound?</div><div><br></div><div>.hc</div><br><div><div>On Nov 29, 2010, at 3:29 PM, András Murányi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I have started a Wiki page on this:<br><a href="http://puredata.info/docs/developer/StartupPlugins">http://puredata.info/docs/developer/StartupPlugins</a><br>I'll expand it later today.<br><br>Andras<br><br><div class="gmail_quote"> On Mon, Nov 29, 2010 at 3:31 PM, Lorenzo Sutton <span dir="ltr">&lt;<a href="mailto:lsutton@libero.it">lsutton@libero.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> [this was intended for the list by I sent it to Hans only by mistake - resending]<div class="im"><br> <br> -------- Original Message --------<br> Subject: zenity plugin for Pd 0.43 WAS: magicglass WAS: call for testers for L2Ork iteration of pd-extended (based on 0.42.x branch)<br> From: Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;<br> To: Lorenzo Sutton &lt;<a href="mailto:lsutton@libero.it" target="_blank">lsutton@libero.it</a>&gt;<br> CC: <a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a><br> Date: 11/28/2010 02:00 AM<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <br> On Nov 25, 2010, at 6:27 AM, Lorenzo Sutton wrote:<br> <br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Hans-Christoph Steiner wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <br> On Nov 24, 2010, at 10:59 PM, Ivica Ico Bukvic wrote:<br> <br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> (and a random aside, perhaps you'd be interested in getting Pd to use<br> the GTK open panel? &nbsp;I've always hated the Tcl/Tk one).<br> </blockquote> <br> How would one go about doing this?<br> </blockquote> <br> I believe that gnocl is the thing that you are looking for:<br> <br> <a href="http://wiki.tcl.tk/5151" target="_blank">http://wiki.tcl.tk/5151</a><br> </blockquote> Actually a really 'quick and dirty' solution would be to call zenity [1] from within the tk.. Which IMHO is better than the Tk file opener.. Attached a version of <a href="http://pd.tk" target="_blank">pd.tk</a> (0.42.5-extended-rc5 linux) which will try touse zenity for open, falling back to Tk if zeniy is not found (sorry my tcl is really really rusty :-)<br> <br> Lorenzo.<br> <br> [1]: <a href="http://freshmeat.net/projects/zenity" target="_blank">http://freshmeat.net/projects/zenity</a><br> </blockquote> <br> <br> That would make a great GUI plugin for Pd 0.43. &nbsp;Basically the plugin would just override pdtk_openpanel and pdtk_savepanel (now in pd/tcl/wheredoesthisgo.tcl). &nbsp;Just 'rename' the existing ones in your plugin, then create your own procs with the same names.<br> <br> .hc<br> </blockquote></div> The GUI plugin thing in 0.43 is pretty new to me.. Anything I can read to learn about it?<br> <br> This apporach (that's why 'quick and dirty') does have various limitations that I think couldn't be solved:<br> - No way to have 'filetype' filters (I haven't seen a way to have ore than one with zenity)<br> - Doesn't remember last opened directory (but maybe taht could be handled by the tk script)<br> - Not exactly the 'standard' gnome open dialogue.<br> <br> Of course one could create two small independent gtk+ (or whatever gui) apps (executables) that let you select file in a "natve" look and feel spit a string out a string like zenity which is easily ingested y tk. I'm not sure how this could be made cross platform though.<br> <br> Lorenzo.<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <br> <br> ---------------------------------------------------------------------------- <br><div class="im"> <br> Using ReBirth is like trying to play an 808 with a long stick. &nbsp; &nbsp;-David Zicarelli<br> <br> <br> <br> </div></blockquote><div><div></div><div class="h5"> <br> <br> _______________________________________________<br> <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br> UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br> </div></div></blockquote></div><br><br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="font-size: 12px; "><br class="Apple-interchange-newline"></span><span class="Apple-style-span" style="font-size: 12px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers.&nbsp; &nbsp;&nbsp; &nbsp;- General Smedley Butler</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>