Synopses & Reviews
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.
Synopsis
Tcl/Tk for Programmers introduces high-level Tcl/Tk scripting language to experienced programmers with either Unix or Windows backgrounds. It includes a short introduction to TCP/IP, introductions on writing client-side scripts and GUI interfaces as well as integrating scripts with C/C++. In addition to covering version 8.0/8.0, the book describes the major differences between version 8.0/8.0, 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.
Description
Includes bibliographical references (p. 537) and index.
Table of Contents
Forward.
Acknowledgements.
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++.
Bibliography.
Index.