-#!@wish@ -f
+#!/bin/sh
+#\
+exec @wish@ -f "$0" ${1+"$@"}
#
# $Id$
#
wm withdraw .
-if [file exists @stl_library@/tclIndex] {
- lappend auto_path @stl_library@
-} else {
- lappend auto_path /usr/local/lib/stl
- lappend auto_path /vol/pub/stl-0.2/lib/stl
-}
-
if [file exists @tkinspect_library@/tclIndex] {
lappend auto_path [set tkinspect_library @tkinspect_library@]
} else {
lappend auto_path [set tkinspect_library .]
}
+stl_lite_init
proc tkinspect_exit {} {
destroy .
error $reason
}
proc tkerror {message} {
- global tkinspect
+ global tkinspect errorInfo
if [info exists tkinspect(error_is_failure)] {
unset tkinspect(error_is_failure)
tk_dialog .failure "Tkinspect Failure" $message warning 0 Ok
}
}
-widgets_init
tkinspect_widgets_init
tkinspect_default_options
if [file exists ~/.tkinspect_opts] {