-
Notifications
You must be signed in to change notification settings - Fork 2
/
iwidgets.tcl.in
41 lines (36 loc) · 1.37 KB
/
iwidgets.tcl.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# iwidgets.tcl
# ----------------------------------------------------------------------
# Invoked automatically by [incr Tk] upon startup to initialize
# the [incr Widgets] package.
# ----------------------------------------------------------------------
# AUTHOR: Mark L. Ulferts EMAIL: [email protected]
#
# @(#) $Id: iwidgets.tcl.in,v 1.8 2017/07/07 19:06:40 dgp Exp $
# ----------------------------------------------------------------------
# Copyright (c) 1995 Mark L. Ulferts
# ======================================================================
# See the file "license.terms" for information on usage and
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
package require Tcl 8.0
package require Tk 8.0
package require Itcl @itcl_VERSION@
if {[string length [package provide Itk]] == 0} {
package forget Itk
package forget itk
}
package require Itk [string index @itcl_VERSION@ 0]
namespace eval ::iwidgets {
namespace export *
variable library [file dirname [info script]]
variable version @PACKAGE_VERSION@
lappend auto_path $iwidgets::library
variable subdir
foreach subdir {generic scripts} {
if {[file isdirectory [file join $iwidgets::library $subdir]]} {
lappend auto_path [file join $iwidgets::library $subdir]
}
}
unset subdir
}
package provide Iwidgets $iwidgets::version