Patco a écrit :
The pkgIndex.tcl is attached
I'm sorry, I didn't put the good pkgIndex.tcl in last mail, attached is
the one I've simplified for using with tk libs for widgets that works on
my win32 computer.
notice: for getting the dll, go to :
http://lists.puredata.info/pipermail/pd-list/2007-06/051157.html
download the "pd-packages-nt-tk8.4.rar" attachement, rename the
downloaded .obj to .rar and extract it to pd/lib/tk8.4
Patko.
# this script is used for loading packages required by [widget]'s .wid files
package ifneeded snack 2.2 "[list load [file join $dir libsnack.dll]];[list
source [file join $dir snack.tcl]]"
if {[catch {package require Tcl 8.4}]} return
set script ""
append script "load \"[file join $dir libtkdnd10.dll]\" tkdnd"
package ifneeded tkdnd 1.0 $script
if {[catch {package require Tcl 8.4}]} return
set scropt ""
append scropt "load \"[file join $dir tkpathgdi01.dll]\" tkpath"
package ifneeded tkpath 0.1 $scropt
if {[catch {package require Tcl 8.4}]} return
set scrupt ""
if {![info exists ::env(TREECTRL_LIBRARY)]
&& [file exists [file join $dir treectrl.tcl]]} {
append scrupt "set ::treectrl_library \"$dir\"\n"
}
append scrupt "load \"[file join $dir treectrl21.dll]\" treectrl"
package ifneeded treectrl 2.1.1 $scrupt
package ifneeded Tkzinc 3.3.2 [list load [file join $dir Tkzinc332.dll]]
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list