View Single Post
Old Jul 21st, 2005, 8:50 AM   #3
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4 mackenga is on a distinguished road
"Practical Programming in Tcl and Tk," by Brent Welch (ISBN: 0-13-038560-3) is a great starting point. It begins with a good introduction to Tcl syntax and then about 60% of the book covers the Tk toolkit. A decent, well written (if quite short and heavy-going) section at the back explains extending Tcl and Tk with C and embedding the interpreter in C programs.

The edition I read (many moons ago now) was smaller than this (fourth) one, actually; this one seems to have quite a bit of new and updated material. Although I know that I've covered this material before, I'm seriously considering buying the new edition - Brent Welch is an excellent author.

There are some sample chapters online and more details at http://www.beedub.com/book/ if you're interested.

I also got a great book on incr Tcl/Tk but it's out of print so I guess I was lucky to find it - it's called "Incr Tcl/Tk from the Ground Up" (by Chad Smith; ISBN: 0072121068). Don't just get this book though - the ground in question is pretty high up to start with (it assumes you are very familiar with Tcl/Tk before you start). I picked up my copy for £2 in a charity shop - lucky me

I've found a relatively obscure tutorial on the web, as well, which looks good - especially if you're learning Tcl/Tk as a way into programming since it starts with an introduction to scripting languages in general:

http://fringe.davesource.com/Fringe/...tcl_intro.html

It's by Christopher Trudeau and although I haven't ploughed through the whole thing it actually seems to cover a hell of a lot for an online tutorial.

Hope these are helpful.
mackenga is offline   Reply With Quote