Tcl/Tk for Programmers. With Solved Exercises that Work with Unix and Windows. Practitioners

  • ID: 2178214
  • Book
  • 560 Pages
  • John Wiley and Sons Ltd
1 of 4
This introduction to Tcl/Tk bridges the gaps between introductions, comprehensive manuals, and collections of scripts that solve particular problems. There are over 200 exercises with solutions that run on both Unix and Windows platforms.

Tcl/Tk for Programmers is an introduction to the high–level Tcl/Tk scripting language for experienced programmers with either Unix or Windows background. The book includes a short introduction to TCP/IP, as well as longer introductions to writing client–side scripts and GUI interfaces, and integrating scripts with C/C++.

Tcl is a scripting language somewhat like Perl but extensible and clearer. Tk is an extension, developed by the creator of Tcl, used for creating scripts that interact with users through windows. After version 8.0/8.0, the unusually fast development of Tcl/Tk has slowed to a more normal pace. Tcl/Tk for Programmers covers this version while describing its major differences with the previous version 7.6/4.2 and the experimental alpha version 8.1/8.1 Zimmer has extensive knowledge of Tcl/Tk programming and currently runs a consulting and training company based on his experience.

Note: Product cover images may vary from those shown
2 of 4


1. Getting Started.

I: Tcl.

2. Basic Syntax and I/O.

3. Expressions and Branching.

4. Procedures.

5. Data Structures and Iteration.

6. Strings, Files, and Glob Pattern Matching.

7. Regexp and Regsub.

8. Tcl Odds and Ends.

9. More about Procedures.

10. TCP/IP Networks and Event–Driven Programming.

II: Tk.

11. Overview of Tk.

12. Widget Characteristics.

13. Geometry Management.

14. Some Basic Widget Types.

15. List of Widget Types.

16. Bindings.17. Partially Displayed Widgets.

18. Text Widgets.

19. Canvases.

20. Tk Odds and Ends.

21. The Browser Plugin and Safe–Tcl.

III: C/C++.

22. The C/C++ Connection.

23. Essential Library Functions.

24. Some Useful Library Functions.

25. Creating Tcl Objects in C/C++.


Note: Product cover images may vary from those shown
3 of 4


4 of 4
J. Adrian Zimmer was raised in Nebraska and lived in Canada, Denmark, and Iran as well as South Carolina, Oklahoma, North Dakota, and Massachusetts. Educated through a postdoc in mathematics, his publications include two books Tcl/Tk for Programmers, I.E.E.E. Computer Society Press, 1998 and  Abstraction for Programmers, McGraw Hill, 1985.
Note: Product cover images may vary from those shown
5 of 4
Note: Product cover images may vary from those shown