summaryrefslogtreecommitdiff
path: root/jni/ruby/ext/tk/sample/tkextlib/tile/themes/kroc/pkgIndex.tcl
blob: 95c3d5783b36b059cccefcc7499e3c57eb5f3d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# pkgIndex.tcl for additional tile pixmap themes.
#
# We don't provide the package is the image subdirectory isn't present,
# or we don't have the right version of Tcl/Tk
#
# To use this automatically within tile, the tile-using application should
# use tile::availableThemes and tile::setTheme
#
# $Id: pkgIndex.tcl 31689 2011-05-22 09:26:02Z nobu $

if {![file isdirectory [file join $dir kroc]]} { return }
if {![package vsatisfies [package provide Tcl] 8.4]} { return }

package ifneeded tile::theme::kroc 0.0.1 \
    [list source [file join $dir kroc.tcl]]