pkgIndex.tcl 364 B

1234567
  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.6 [list load [file join $dir .. .. bin libtk8.6.dll] Tk]
  5. } else {
  6. package ifneeded Tk 8.6.6 [list load [file join $dir .. .. bin tk86tg.dll] Tk]
  7. }