hello,
the drag'n'drop tcl command is implemented for opening pd files, if you are
curious look for this code in pd.tk:
catch {
package require tkdnd
dnd bindtarget . text/uri-list <Drop> {
foreach file %D {open_file $file}
}
}
you will need to install tktdnd lib to try out this GUI feature.
It would be nice to have externals using this lib.
----- "tep" <[email protected]> a écrit :
> i'm looking for a way to drag and drop files in linux (ubuntu), in
> order to get the path of the file (in the manner of the [dropfile]
> object in maxmsp) and possibly the filetype ?
>
> --
>
>
>
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
--
Patrice Colet
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list