wrapping tkcon



I tried wrapping tkcon but I kept getting this:

can't find tkcon package while executing "package require tkcon"


I created:
tkcon.vfs
|
+--- main.tcl
| package require starkit
| starkit::startup
|
| package require tkcon
|
|
+---lib
|
+--------tkcon
| |
+-----tkcon.tcl
|
| package provide tkcon
| if {$tcl_version <
8.0} {
| return -code error
"tkcon requires at least Tcl/Tk8"
| } else {
| package require Tk
| }
|
+-----pkgIndex.tcl
package ifneeded tkcon
[list source [file join $dir tkcon.tcl]]


Please help.

.



Relevant Pages

  • Re: Package unloading
    ... I have a package containing a file call foo.tcl, which contains a whole bunch of Tcl procedures I'm working on. ... Then, I need to exit tkcon and restart it, and package require again to get the latest Tcl code into the interpreter. ...
    (comp.lang.tcl)
  • Re: Package unloading
    ... bunch of Tcl procedures I'm working on. ... I start a tkcon, package require mypackage, do my thing, then go back to my editor for further work on foo.tcl. ... Then, I need to exit tkcon and restart it, and package require again to get the latest Tcl code into the interpreter. ...
    (comp.lang.tcl)
  • Re: wrapping tkcon
    ... can't find tkcon package while executing "package require tkcon" ... "tkcon requires at least Tcl/Tk8" ... Stephane A. ...
    (comp.lang.tcl)