[PD] zenity plugin for Pd 0.43 WAS: magicglass WAS: call for testers for L2Ork iteration of pd-extended (based on 0.42.x branch)
Hans-Christoph Steiner
hans at at.or.at
Mon Nov 29 22:07:38 CET 2010
Hey Andras, this is great! My only request is: can we call them "GUI
plugins"? "startup plugins" sounds too vague for me. Also, here's a
bit more documentation:
http://puredata.info/docs/PdGuiPluginsAPI
Now I'm thinking we should start a "guiplugins" wiki folder section in
the doc wiki, so like:
http://puredata.info/docs/guiplugins (this would be your page, also
be called FrontPage)
http://puredata.info/docs/guiplugins/GuiPluginsAPI
http://puredata.info/docs/guiplugins/ExamplePlugins
How does that sound?
.hc
On Nov 29, 2010, at 3:29 PM, András Murányi wrote:
> I have started a Wiki page on this:
> http://puredata.info/docs/developer/StartupPlugins
> I'll expand it later today.
>
> Andras
>
> On Mon, Nov 29, 2010 at 3:31 PM, Lorenzo Sutton <lsutton at libero.it>
> wrote:
> [this was intended for the list by I sent it to Hans only by mistake
> - resending]
>
>
> -------- Original Message --------
> 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)
> From: Hans-Christoph Steiner <hans at at.or.at>
> To: Lorenzo Sutton <lsutton at libero.it>
> CC: pd-list at iem.at
> Date: 11/28/2010 02:00 AM
>
> On Nov 25, 2010, at 6:27 AM, Lorenzo Sutton wrote:
>
> Hans-Christoph Steiner wrote:
>
> On Nov 24, 2010, at 10:59 PM, Ivica Ico Bukvic wrote:
>
>
> (and a random aside, perhaps you'd be interested in getting Pd to use
> the GTK open panel? I've always hated the Tcl/Tk one).
>
> How would one go about doing this?
>
> I believe that gnocl is the thing that you are looking for:
>
> http://wiki.tcl.tk/5151
> 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 pd.tk (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 :-)
>
> Lorenzo.
>
> [1]: http://freshmeat.net/projects/zenity
>
>
> That would make a great GUI plugin for Pd 0.43. Basically the
> plugin would just override pdtk_openpanel and pdtk_savepanel (now in
> pd/tcl/wheredoesthisgo.tcl). Just 'rename' the existing ones in
> your plugin, then create your own procs with the same names.
>
> .hc
> The GUI plugin thing in 0.43 is pretty new to me.. Anything I can
> read to learn about it?
>
> This apporach (that's why 'quick and dirty') does have various
> limitations that I think couldn't be solved:
> - No way to have 'filetype' filters (I haven't seen a way to have
> ore than one with zenity)
> - Doesn't remember last opened directory (but maybe taht could be
> handled by the tk script)
> - Not exactly the 'standard' gnome open dialogue.
>
> 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.
>
> Lorenzo.
>
>
> ----------------------------------------------------------------------------
>
> Using ReBirth is like trying to play an 808 with a long stick. -
> David Zicarelli
>
>
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
----------------------------------------------------------------------------
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. - General Smedley Butler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20101129/075249ee/attachment-0001.htm>
More information about the Pd-list
mailing list