pkgIndex.tcl (363B)
1 if {[catch {package present Tcl 8.6.0}]} { return } 2 if {($::tcl_platform(platform) eq "unix") && ([info exists ::env(DISPLAY)] 3 || ([info exists ::argv] && ("-display" in $::argv)))} { 4 package ifneeded Tk 8.6.9 [list load [file join $dir .. .. bin libtk8.6.dll] Tk] 5 } else { 6 package ifneeded Tk 8.6.9 [list load [file join $dir .. .. bin tk86t.dll] Tk] 7 }