- Used Books
- Staff Picks
- Gifts & Gift Cards
- Sell Books
- Stores & Events
- Let's Talk Books
Special Offers see all
More at Powell's
Recently Viewed clear list
New Trade Paper
Ships in 1 to 3 days
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Other titles in the In a Nutshell series:
TCL/TK in a Nutshell (In a Nutshell)by Paul Raines
Synopses & Reviews
The Tcl language and Tk graphical toolkit are simple and powerful building blocks for custom applications. The Tcl/Tk combination is increasingly popular because it lets you produce sophisticated graphical interfaces with a few easy commands, develop and change scripts quickly, and conveniently tie together existing utilities or programming libraries.One of the attractive features of Tcl/Tk is the wide variety of commands, many offering a wealth of options. Most of the things you'd like to do have been anticipated by the language's creator, John Ousterhout, or one of the developers of Tcl/Tk's many powerful extensions. Thus, you'll find that a command or option probably exists to provide just what you need.And that's why it's valuable to have a quick reference that briefly describes every command and option in the core Tcl/Tk distribution as well as the most popular extensions. Keep this book on your desk as you write scripts, and you'll be able to find almost instantly the particular option you need.Most chapters consist of alphabetical listings. Since Tk and mega-widget packages break down commands by widget, the chapters on these topics are organized by widget along with a section of core commands where appropriate. Contents include:
The Tcl language and Tk graphical toolkit are powerful building blocks for applications that feature a variety of commands with a wealth of options in each command. This quick reference briefly describes every command and option in the core Tcl/Tk distribution, as well as the most popular extensions.
The Tcl language and Tk graphical toolkit are simple and powerful building blocks for custom applications. The Tcl/Tk combination is increasingly popular because it lets you produce sophisticated graphical interfaces with a few easy commands, develop and change scripts quickly, and conveniently tie together existing utilities or programming libraries. One of the attractive features of Tcl/Tk is the wide variety of commands, many offering a wealth of options. You'll find that a command or option probably exists to provide just what you need. This valuable quick reference briefly describes every command and option in the core Tcl/Tk distribution, as well as the most popular extensions. Keep this book on your desk as you write scripts, and you'll be able to find almost instantly the particular option you need. Covers: core Tcl and Tk commands and Tk widgets, C interface (prototypes), Expect, incr Tcl and incr Tk , Tix, TclX, BLT, Oratcl, SybTcl, and Tclodbc.
About the Author
Paul Raines is a physicist and scientific programmer at the Stanford Linear Accelerator Center at Stanford University where he is part of a large collaboration studying CP violation (why charge and parity are not conserved in some particle decays). He is a huge advocate of scripting languages and has been using Tcl on various projects since 1992. He is also the coauthor of O'Reilly & Associates' Tcl/Tk in a Nutshell. When he can get away from the lab, Paul enjoys hiking, bridge, and soccer.
When Jeff Tranter was first exposed to UNIX-based workstations about ten years ago, he dreamed of being able to afford a system with similar capabilities for home use. Today, he sees Linux as the realization of that dream, with the added bonus of being able to examine and modify all of the source code and even contribute to its development. He's been using Linux since 1992 and is the author of the freely available Linux Sound and CD-ROM HOWTO guides. Jeff has also written a number of Linux utilities and several Linux related magazine articles. Jeff received his bachelor's degree in electrical engineering from the University of Western Ontario. He currently works as a software designer for a high-tech telecommunications company in Kanata, Ontario, Canada's Silicon Valley North.
Table of Contents
Preface; Conventions; Contact O'Reilly and Associates; About This Book; Acknowledgments; Chapter 1: Introduction; 1.1 What Is Tcl?; 1.2 Structure of This Book; Chapter 2: Tcl Core Commands; 2.1 Overview; 2.2 Basic Language Features; 2.3 Command-Line Options; 2.4 Environment Variables; 2.5 Special Variables; 2.6 Backslash Substitutions; 2.7 Operators and Math Functions; 2.8 Regular Expressions; 2.9 Pattern Globbing; 2.10 Predefined I/O Channel Identifiers; 2.11 Group Listing of Commands; 2.12 Alphabetical Summary of Commands; Chapter 3: Tk Core Commands; 3.1 Example; 3.2 Command-Line Options; 3.3 Environment Variable; 3.4 Special Variables; 3.5 Group Listing of Tk Commands; 3.6 Widget Overview; 3.7 Widget Commands; 3.8 Utility Commands; Chapter 4: The Tcl C Interface; 4.1 Constants; 4.2 Data Types; 4.3 Group Listing of Functions; 4.4 Alphabetical Summary of Functions; Chapter 5: The Tk C Interface; 5.1 Constants; 5.2 Data Types; 5.3 Group Listing of Functions; 5.4 Alphabetical Summary of Functions; Chapter 6: Expect; 6.1 Overview; 6.2 Example; 6.3 Command-Line Options; 6.4 Environment Variables; 6.5 Special Variables; 6.6 Grouped Summary of Commands; 6.7 Alphabetical Summary of Commands; Chapter 7: [incr Tcl]; 7.1 Basic Class Definition; 7.2 Special Variables; 7.3 Group Listing of Commands; 7.4 Example; 7.5 Alphabetical Summary of Commands; Chapter 8: [incr Tk]; 8.1 Basic Structure of a Mega-widget; 8.2 Special Variable; 8.3 Methods and Variables; 8.4 Alphabetical Summary of Commands; Chapter 9: Tix; 9.1 Tix Overview; 9.2 Special Variables; 9.3 Group Listing of Tix Commands; 9.4 Tix Mega-widget Overview; 9.5 Tix Mega-widgets; 9.6 Tix Standard Widgets Overview; 9.7 Tix Standard Widgets; 9.8 Tix Core Commands; 9.9 Tix Extensions to Tk image Command; Chapter 10: TclX; 10.1 Special Variables; 10.2 Group Listing of Commands; 10.3 Alphabetical Summary of Commands; Chapter 11: BLT; 11.1 Environment Variable; 11.2 Special Variables; 11.3 Group Listing of Commands; 11.4 Alphabetical Summary of Commands; Chapter 12: Oratcl; 12.1 Overview; 12.2 Example; 12.3 Environment Variables; 12.4 Special Variables; 12.5 Group Listing of Commands; 12.6 Alphabetical Summary of Commands; Chapter 13: Sybtcl; 13.1 Overview; 13.2 Example; 13.3 Environment Variables; 13.4 Special Variables; 13.5 Group Listing of Commands; 13.6 Alphabetical Summary of Commands; Chapter 14: Tclodbc; 14.1 Overview; 14.2 Group Listing of Commands; 14.3 Summary of Commands; Chapter 15: Hints and Tips for the Tcl Programmer; 15.1 Think Commands, Not Statements; 15.2 Comments Are Treated as Commands; 15.3 A Symbolic Gesture; 15.4 Lists Are Strings, but Not All Strings Are Lists; 15.5 Indirect References; 15.6 Executing Other Programs; 15.7 When Is a Number Not a Number?; 15.8 Quoting and More Quoting; 15.9 Write Once, Run Where?; 15.10 Common Tk Errors; 15.11 Use the Source, Luke!; Tcl Resources; Web Sites; Usenet Newsgroups; Mailing Lists; Colophon;
What Our Readers Are Saying
Other books you might like