summaryrefslogtreecommitdiff
path: root/itcl/iwidgets3.0.0/iwidgets.tcl.in
diff options
context:
space:
mode:
Diffstat (limited to 'itcl/iwidgets3.0.0/iwidgets.tcl.in')
-rw-r--r--itcl/iwidgets3.0.0/iwidgets.tcl.in35
1 files changed, 35 insertions, 0 deletions
diff --git a/itcl/iwidgets3.0.0/iwidgets.tcl.in b/itcl/iwidgets3.0.0/iwidgets.tcl.in
new file mode 100644
index 00000000000..51ccbfc4412
--- /dev/null
+++ b/itcl/iwidgets3.0.0/iwidgets.tcl.in
@@ -0,0 +1,35 @@
+#
+# iwidgets.tcl
+# ----------------------------------------------------------------------
+# Invoked automatically by [incr Tk] upon startup to initialize
+# the [incr Widgets] package.
+# ----------------------------------------------------------------------
+# AUTHOR: Mark L. Ulferts EMAIL: mulferts@spd.dsccc.com
+#
+# @(#) $Id$
+# ----------------------------------------------------------------------
+# 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@
+package require Itk @ITCL_VERSION@
+
+namespace eval ::iwidgets {
+ namespace export *
+
+ variable library [file dirname [info script]]
+ variable version @VERSION@
+}
+
+lappend auto_path [file join $iwidgets::library scripts]
+package provide Iwidgets $iwidgets::version
+
+# For now we need to import all of the itcl functions into the global
+# namespace. This should be removed once iwidgets are upgraded to use the
+# itcl:: names directly.
+
+namespace import -force itcl::*