Tcl/Tk Cookbook


Lakshmi Sastry
Advanced Interactive Systems Division
Department for Computing and Information Systems Department
Rutherford Appleton Laboratory, Chilton, Didcot. OX11 0QX

Venkat VSS Sastry
Department of Applied Mathematics and Operational Research
Cranfield University, RMCS Shrivenham, Swindon. SN6 8LA


Contents

Introduction
Housekeeping
Getting Started

Chapter 1: Basics of Tcl
Chapter 2: Basics of Tk
Chapter 3: Simple Text Editor
Chapter 4: Using the Canvas
Chapter 5: Canvas Revisited
Chapter 6: Tcl/Tk and C
Chapter 7: Tcl/Tk and FORTRAN
Chapter 8: Tcl/Tk and C++
Chapter 9: Adding Extensions
Chapter 10: Using Extensions

Bibliography
Source code for the examples


Tcl/Tk was developed by Professor John Ousterhout. The examples in this cookbook also utilise contributed Tcl and Tk modules which are acknowledged.

Lakshmi Sastry wishes to thank UK Advisory Group On Computer Graphics for the support for developing this cookbook.

The authors wish to thank Victoria Marshall for designing the icons.


Please send any comments or suggestions about this Cookbook to M.Sastry@rl.ac.uk.