Python-project/build/exe.win-amd64-3.7/tk/pkgIndex.tcl

8 lines
363 B
Tcl
Raw Normal View History

2019-02-07 14:26:48 +01:00
if {[catch {package present Tcl 8.6.0}]} { return }
if {($::tcl_platform(platform) eq "unix") && ([info exists ::env(DISPLAY)]
|| ([info exists ::argv] && ("-display" in $::argv)))} {
package ifneeded Tk 8.6.8 [list load [file join $dir .. .. bin libtk8.6.dll] Tk]
} else {
package ifneeded Tk 8.6.8 [list load [file join $dir .. .. bin tk86t.dll] Tk]
}