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


----------------------------------------------------------------------------

Using ReBirth is like trying to play an 808 with a long stick. - David Zicarelli



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to