2
votes

I have my code working fine, while running it through "tclsh filename.tcl". Once i compiled it using sdx.kit and tcl basekit and re-executing the kit file, it throws me following error for tk busy command.

Not sure, what went wrong during kit compilation, but it happen always. Here is snippet of my code.

proc create_mem_template {} {
tk busy hold .top
update
tk busy configure .top -cursor "watch"
........
........
........
tk busy forget .top

enter image description here

Attaching the snapshot of my error.

1
What is your version? I believe tk busy was added in 8.6. - Peter Lewerin

1 Answers

1
votes

The busy subcommand was added Tk 8.6 (as proposed in TIP #321); if you're using an earlier version, you'll need to upgrade.