Using Object Oriented Tcl and the Tk toolkit together - real life example
Archive - Originally posted on "The Horse's Mouth" - 2015-03-12 18:13:59 - Graham Ellis
Survey data [here]
Station OS positions [here]
And OS coding tables [here].
As I'm teaching Tcl this week - and using the object oriented iTcl and the Tk toolkit, I've written my code (and a nice GUI) in Tcl - source code [here] ... not the simplest of examples for my Blog, but a program that shows
* Multiple object types
* Use of common (static) variables
* Use of the $this variable for the current object
which you'll not find in many other of my examples.
It's been great fun writing this example, the results are very informative (I'll be making comment on the Coffee Shop forum, and it's a real reminder of the power of Tcl which remains an excellent language even if it's not the height of fashion these days. Please let me know if you would like a Tcl course - it can be arranged ;-)