You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
# Tcl Package Index File 1.0 |
|
if {![llength [info commands ::tcl::pkgindex]]} { |
|
proc ::tcl::pkgindex {dir bundle bundlev packages} { |
|
set allpkgs [list] |
|
foreach {pkg ver file} $packages { |
|
lappend allpkgs [list package require $pkg $ver] |
|
package ifneeded $pkg $ver [list source [file join $dir $file]] |
|
} |
|
if {$bundle != ""} { |
|
lappend allpkgs [list package provide $bundle $bundlev] |
|
package ifneeded $bundle $bundlev [join $allpkgs \n] |
|
} |
|
return |
|
} |
|
} |
|
if {![package vsatisfies [package provide Tcl] 8.4-]} {return} |
|
::tcl::pkgindex $dir widget::all 1.2.4 { |
|
widget 3.1 widget.tcl |
|
widget::arrowbutton 1.0 arrowb.tcl |
|
widget::calendar 1.0.1 calendar.tcl |
|
widget::dateentry 0.96 dateentry.tcl |
|
widget::dialog 1.3.1 dialog.tcl |
|
widget::menuentry 1.0.1 mentry.tcl |
|
widget::panelframe 1.1 panelframe.tcl |
|
widget::ruler 1.1 ruler.tcl |
|
widget::screenruler 1.2 ruler.tcl |
|
widget::scrolledtext 1.0 stext.tcl |
|
widget::scrolledwindow 1.2.1 scrollw.tcl |
|
widget::statusbar 1.2.1 statusbar.tcl |
|
widget::superframe 1.0.1 superframe.tcl |
|
widget::toolbar 1.2.1 toolbar.tcl |
|
}
|
|
|