Tcl/tk 8.5 Programming Cookbook

Tcl/tk 8.5 Programming Cookbook
by Bert Wheeler / / / PDF


Read Online 1.7 MB Download


Over 100 great recipes to effectively learn Tcl/Tk 8

The quickest way to solve your problems with Tcl/Tk 8.

Understand the basics and fundamentals of the Tcl/Tk 8 programming language

Learn graphical User Interface development with the Tcl/Tk 8 Widget set

Get a thorough and detailed understanding of the concepts with a real-world address book application

Each recipe is a carefully organized sequence of instructions to efficiently learn the features and capabilities of the Tcl/Tk 8 language

In Detail

With Tcl/Tk, you can create full-featured cross-platform applications in a simple and easy-to-understand way without any expensive development package; the only tools required are a simple text editor and your imagination. This practical cookbook will help you to efficiently interact with editors, debuggers, and shell type interactive programs using Tcl/Tk 8. This cookbook will comprehensively guide you through practical implementation of Tcl/Tk 8 commands and tools.

This book will take you through all the steps needed to become a productive programmer in Tcl/Tk 8. Right from guiding you through the basics to creating a stand-alone application, it provides complete explanation of all the steps along with handy tips and tricks.

The book begins with an introduction to the Tcl shell, syntax, variables, and programming best practices in the language. It then explores procedures and the flow of events with control constructs followed by advanced error trapping and recovery. From Chapter 4, a detailed study of string expressions and handling enables you to handle various string functions and use lists to expand the string functionality. The book then discusses in-depth the Tcl Dictionary and how to utilize it to store and retrieve data. File operations and Tk GUI handling are covered extensively along with a developing a real-world address book application to practice the concepts learned.

A practical, comprehensive cookbook to master the depths and breadths of Tcl/Tk 8 programming

What you will learn from this book

Expand your Tcl/Tk abilities by gaining in-depth knowledge of the core commands

Learn efficient programming by using control constructs in your program

Handle numerous types of string expressions by performing formatting, searches, and advanced manipulations on them

Gain expertise in using lists with examples teaching you the various available operations

Demystify the Tcl Dictionary and learn how it can be a viable substitute for a third-party database

Perform various operations on the dictionary elements in both single and multiple layer dictionaries

Create, manage, and empower your Graphical User Interface with Tk window management, to develop attractive applications

Ease your file system access with an in-depth study of File operations

Perform advanced error trapping and recovery with error handling commands in Tcl

views: 1198