On Thu, 21 Jul 2011, IOhannes m zmoelnig wrote:

[openpanel] has not method for 'location', but it has a method for
'symbol' which sets the directory to start.
e.g.
[symbol /tmp(
|
[openpanel]

will always open in "/tmp/" (if that exists)

But [openpanel] is not made for selecting a folder, it is made for selecting files (non-folder files).

That's the difference between tk_getOpenFile and tk_chooseDirectory.

grep -r tk_chooseDirectory pd-svn

matches (2 in total) :
  Benjamin Bogart's abstractions/pixelTANGO/abstractions/dirpanel.pd
  Thomas-O. Fredericks' externals/tof/src/folderpanel.c

looks like a Montréal-only feature ! ;)

 _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to