Tcl and the Tk Toolkit (Addison-Wesley Professional Computing Series) / Edition 2
  • Tcl and the Tk Toolkit (Addison-Wesley Professional Computing Series) / Edition 2
  • Tcl and the Tk Toolkit (Addison-Wesley Professional Computing Series) / Edition 2

Tcl and the Tk Toolkit (Addison-Wesley Professional Computing Series) / Edition 2

by John K. Ousterhout, Ken Jones
     
 

ISBN-10: 032133633X

ISBN-13: 9780321336330

Pub. Date: 09/23/2009

Publisher: Addison-Wesley

John K. Ousterhout’s Definitive Introduction to Tcl/Tk–Now Fully Updated for Tcl/Tk 8.5

Tcl and the Tk Toolkit, Second Edition, is the fastest way for newcomers to master Tcl/Tk and is the most authoritative resource for experienced programmers seeking to gain from Tcl/Tk 8.5’s powerful enhancements. Written by Tcl/Tk

…  See more details below

Overview

John K. Ousterhout’s Definitive Introduction to Tcl/Tk–Now Fully Updated for Tcl/Tk 8.5

Tcl and the Tk Toolkit, Second Edition, is the fastest way for newcomers to master Tcl/Tk and is the most authoritative resource for experienced programmers seeking to gain from Tcl/Tk 8.5’s powerful enhancements. Written by Tcl/Tk creator John K. Ousterhout and top Tcl/Tk trainer Ken Jones, this updated volume provides the same extraordinary clarity and careful organization that made the first edition the world’s number one Tcl/Tk tutorial.

Part I introduces Tcl/Tk through simple scripts that demonstrate its value and offer a flavor of the Tcl/Tk scripting experience. The authors then present detailed, practical guidance on every feature necessary to build effective, efficient production applications–including variables, expressions, strings, lists, dictionaries, control flow, procedures, namespaces, file and directory management, interprocess communication, error and exception handling, creating and using libraries, and more.

Part II turns to the Tk extension and Tk 8.5’s new themed widgets, showing how to organize sophisticated user interface elements into modern GUI applications for Tcl.

Part III presents incomparable coverage of Tcl’s C functions, which are used to create new commands and packages and to integrate Tcl with existing C software–thereby leveraging Tcl’s simplicity while accessing C libraries or executing performance-intensive tasks.

Throughout, the authors illuminate all of Tcl/Tk 8.5’s newest, most powerful improvements. You’ll learn how to use new Starkits and Starpacks to distribute run-time environments and applications through a single file; how to take full advantage of the new virtual file system support to treat entities such as zip archives and HTTP sites as mountable file systems; and more.

From basic syntax to simple Tcl commands, user interface development to C integration, this fully updated classic covers it all. Whether you’re using Tcl/Tk to automate system/network administration, streamline testing, control hardware, or even build desktop or Web applications, this is the one Tcl/Tk book you’ll always turn to for answers.

Read More

Product Details

ISBN-13:
9780321336330
Publisher:
Addison-Wesley
Publication date:
09/23/2009
Series:
Addison-Wesley Professional Computing Series
Edition description:
Second Edition
Pages:
773
Product dimensions:
7.00(w) x 9.00(h) x 1.70(d)

Table of Contents

Preface
Ch. 1Introduction1
Ch. 2An Overview of Tcl and Tk7
Pt. IThe Tcl Language
Ch. 3Tcl Language Syntax29
Ch. 4Variables43
Ch. 5Expressions51
Ch. 6Lists61
Ch. 7Control Flow71
Ch. 8Procedures79
Ch. 9String Manipulation87
Ch. 10Accessing Files99
Ch. 11Processes111
Ch. 12Errors and Exceptions117
Ch. 13Managing Tcl Internals125
Ch. 14History139
Pt. IIWriting Scripts for Tk
Ch. 15An Introduction to Tk145
Ch. 16A Tour of the Tk Widgets157
Ch. 17Geometry Managers: the Packer183
Ch. 18Bindings199
Ch. 19Canvas and Text Widgets209
Ch. 20The Selection223
Ch. 21The Input Focus229
Ch. 22Window Managers233
Ch. 23The Send Command243
Ch. 24Modal Interactions247
Ch. 25More on Configuration Options253
Ch. 26Odds and Ends261
Ch. 27Examples267
Pt. IIIWriting Tcl Applications in C
Ch. 28Philosophy279
Ch. 29Interpreters and Script Evaluation287
Ch. 30Creating New Tcl Commands293
Ch. 31TclöAppInit and Packages305
Ch. 32Parsing313
Ch. 33Exceptions319
Ch. 34Accessing Tcl Variables325
Ch. 35Hash Tables337
Ch. 36String Utilities345
Ch. 37POSIX Utilities351
Pt. IVTk's C Interfaces
Ch. 38Introduction359
Ch. 39Creating Windows365
Ch. 40Configuring Widgets375
Ch. 41Events393
Ch. 42Displaying Widgets405
Ch. 43Destroying Widgets411
Ch. 44Managing the Selection417
Ch. 45Geometry Management423
Appendix A Installing Tcl and Tk433
Index439

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >