Practical Programming in Tcl and Tk / Edition 2

Practical Programming in Tcl and Tk / Edition 2

by Brent B. Welch
     
 

The Tcl scripting language and Tk X Windows toolkit offer a quick, powerful new way to build Motif-like graphical applications without Motif's complexity. Practical Programming in Tcl and Tk is a comprehensive, hands-on tutorial for both Tcl and Tk. Leading Tcl/Tk expert Brent B. Welch, author of the popular Tcl-based exmh mail interface, presents new strategies for… See more details below

Overview

The Tcl scripting language and Tk X Windows toolkit offer a quick, powerful new way to build Motif-like graphical applications without Motif's complexity. Practical Programming in Tcl and Tk is a comprehensive, hands-on tutorial for both Tcl and Tk. Leading Tcl/Tk expert Brent B. Welch, author of the popular Tcl-based exmh mail interface, presents new strategies for using the Tcl language and Tk toolkit more effectively, and tips for avoiding problems. Welch covers the latest versions, Tcl 7.4 and Tk 4.0, and includes tips about updating from earlier versions. Welch demonstrates Tk's flexibility, and explains the use of X resources in detail. He also presents a sample graphical preferences package that allows an application to control its implementation in ways that are easy for programs to manage and for users to work with.

Product Details

ISBN-13:
9780136168300
Publisher:
Prentice Hall Professional Technical Reference
Publication date:
05/30/1997
Edition description:
Older Edition
Pages:
630
Product dimensions:
7.04(w) x 9.22(h) x 1.93(d)

Table of Contents

List of Examples
List of Tables
Preface
1Tcl Fundamentals1
2Strings and Pattern Matching19
3Tcl Data Structures29
4Control Flow Commands39
5Procedures and Scope49
6Eval57
7Working with UNIX63
8Reflection and Debugging75
9Script Libraries89
10Tk Fundamentals95
11Tk by Example103
12The Pack Geometry Manager115
13Binding Commands to X Events133
14Buttons and Menus145
15Using X Resources163
16Simple Tk Widgets171
17Entry and Listbox Widgets185
18Focus, Grabs, and Dialogs203
19The Text Widget219
20The Canvas Widget235
21Selections and the Clipboard261
22Callbacks and Handlers267
23Tk Widget Attributes277
24Color, Images, and Cursors285
25Fonts and Text Attributes297
26Window Managers and Window Information309
27A User Interface to Bindings321
28Managing User Preferences329
29C Programming and Tcl339
30C Programming and Tk353
31Writing a Tk Widget in C369
32Tcl Extension Packages385
33Porting to Tk 4.0407

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >