TCL/TK in a Nutshell - A Desktop Quick Reference - Paul Raines

TCL/TK in a Nutshell - A Desktop Quick Reference

A Desktop Quick Reference

(Autor)

Buch | Softcover
462 Seiten
1999
O'Reilly Media (Verlag)
978-1-56592-433-8 (ISBN)
35,90 inkl. MwSt
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 of Tcl/Tk distribution.
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: Core Tcl and Tk commands and Tk widgets C interface (prototypes) Expect [incr Tcl] and [incr Tk] Tix TclX BLT Oratcl, SybTcl, and Tclodbc

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 times parity is not conserved in some particle decays, an arcane research topic that bears on the more understandable question of why there is an excess of matter over antimatter in the universe). He is a huge advocate of scripting languages and has been using Tcl on various projects since 1992. He also maintains a freely distributable quick- reference guide for Tcl/Tk, now published as O'Reilly & Associates' Tcl/Tk Pocket Reference. When he can get away from the lab, Paul enjoys hiking, bridge, and soccer. He lives in San Mateo, California, with his wife Deborah and her horse and three cats. Jeff Tranter works as a software designer for a Canadian telecommunications company and has been using Tcl since 1992 on a number of programming projects related to software tools and testing. He is an active user of Linux, a contributor to the Linux Documentation Project, and author of the O'Reilly book Linux Multimedia Guide. His hobbies include Ham radio, playing guitar, and mountain biking.

Preface. Chapter 1. Introduction What Is Tcl? Structure of This Book. Chapter 2. Tcl Core Commands Overview Basic Language Features Command-Line Options Environment Variables Special Variables Backslash Substitutions Operators and Math Functions Regular Expressions Pattern Globbing Predefined I/O Channel Identifiers Group Listing of Commands Alphabetical Summary of Commands. Chapter 3. Tk Core Commands Example Command-Line Options Environment Variable Special Variables Group Listing of Tk Commands Widget Overview Widget Commands Utility Commands. Chapter 4. The Tcl C Interface Constants Data Types Group Listing of Functions Alphabetical Summary of Functions. Chapter 5. The Tk C Interface Constants Data Types Group Listing of Functions Alphabetical Summary of Functions. Chapter 6. Expect Overview Example Command-Line Options Environment Variables Special Variables Grouped Summary of Commands Alphabetical Summary of Commands. Chapter 7. [incr Tcl] Basic Class Definition Special Variables Group Listing of Commands Example Alphabetical Summary of Commands. Chapter 8. [incr Tk] Basic Structure of a Mega-widget Special Variable Methods and Variables Alphabetical Summary of Commands. Chapter 9. Tix Tix Overview Special Variables Group Listing of Tix Commands Tix Mega-widget Overview Tix Mega-widgets Tix Standard Widgets Overview Tix Standard Widgets Tix Core Commands Tix Extensions to Tk image Command. Chapter 10. TclX Special Variables Group Listing of Commands Alphabetical Summary of Commands. Chapter 11. BLT Environment Variable Special Variables Group Listing of Commands Alphabetical Summary of Commands. Chapter 12. Oratcl Overview Example Environment Variables Special Variables Group Listing of Commands Alphabetical Summary of Commands. Chapter 13. Sybtcl Overview Example Environment Variables Special Variables Group Listing of Commands Alphabetical Summary of Commands. Chapter 14. Tclodbc Overview Group Listing of Commands Summary of Commands. Chapter 15. Hints and Tips for the Tcl Programmer Think Commands, Not Statements Comments Are Treated as Commands A Symbolic Gesture Lists Are Strings, but Not All Strings Are Lists Indirect References Executing Other Programs When Is a Number Not a Number? Quoting and More Quoting Write Once, Run Where? Common Tk Errors Use the Source, Luke! Appendix A. Tcl Resources Index

Erscheint lt. Verlag 4.5.1999
Reihe/Serie In a Nutshell (O'Reilly)
Verlagsort Sebastopol
Sprache englisch
Einbandart kartoniert
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
ISBN-10 1-56592-433-9 / 1565924339
ISBN-13 978-1-56592-433-8 / 9781565924338
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das Handbuch für Webentwickler

von Philip Ackermann

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90
Grundlagen und praktische Anwendungen von Transpondern, kontaktlosen …

von Klaus Finkenzeller

Buch (2023)
Hanser (Verlag)
89,99
das umfassende Handbuch

von Marc Marburger

Buch | Hardcover (2024)
Rheinwerk (Verlag)
49,90