Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

TCL/TK: A DEVELOPER´S GUIDE 3E
Título:
TCL/TK: A DEVELOPER´S GUIDE 3E
Subtítulo:
Autor:
FLYNT, C
Editorial:
ACADEMIC PRESS
Año de edición:
2012
ISBN:
978-0-12-384717-1
Páginas:
792
Disponibilidad:
Disponible en breve
54,50 € -10,0% 49,05 €

 

Sinopsis

Description

Newly updated with over 150 pages of material on the latest Tcl extensions, Tcl/Tk: A Developer´s Guide is a unique practical tutorial for professional programmers and beginners alike. Starting with a clear picture of the basics, Tcl/Tk covers the variety of tools in this ´Swiss army knife´ of programming languages, giving you the ability to enhance your programs, extend your application´s capabilities, and become a more effective programmer.

This updated edition covers all of the new features of version 8.6, including object-oriented programming and the creation of megawidgets, existing data structure implementations, themed widgets and virtual events. Extensive code snippets and online tutorials in various languages will give you a firm grasp on how to use the Tcl/Tk libraries and interpreters and, most importantly, on what constitutes an effective strategy for using Tcl/Tk.

Tcl/Tk, 3rd Edition
Tcl/Tk Features.
1.1 Tcl Overview.
1.1.1 The Standard Tcl Distribution
1.2 Tcl as a Glue Language
1.2.2 Tcl Scripts Compared with Unix Shell Scripts
1.2.3 Tcl Scripts Compared with MS-DOS .bat Files
1.3 Tcl as a General-Purpose Interpreter
1.3.1 Tcl/Tk Compared with Visual Basic
1.3.2 Tcl/Tk Compared with Perl
1.3.3 Tcl/Tk Compared with Python
1.3.4 Tcl/Tk Compared with Java
1.4 Tcl as an Extensible Interpreter
1.5 Tcl as an Embeddable Interpreter
1.6 Tcl as a Rapid Development Tool
1.7 GUI-Based Programming
1.8 Shipping Products
1.9 Bottom Line
1.10 Problems

The Mechanics of Using the Tcl and Tk Interpreters.
2.1 The tclsh and wish Interpreters
2.1.1 Starting the tclsh and wish Interpreters
2.1.2 Starting tclsh or wish under Unix
2.1.3 Starting tclsh or wish under Microsoft Windows
2.1.4 Starting tclsh or wish on the Mac
2.1.5 Exiting tclsh or wish
2.2 Using tclsh/wish Interactively
2.2.1 Tclsh as a Command Shell
2.2.2 Tk Console (tkcon) -- An Alternative Interactive tclsh/wish Shell
2.2.3 Evaluating Scripts Interactively
2.3 Evaluating Tcl Script Files
2.3.1 The Tcl Script File
2.3.2 Evaluating Tcl Script Files
2.3.3 Evaluating a Tcl Script File under Unix
2.3.4 Evaluating a Tcl Script File under Microsoft Windows
2.3.5 Evaluating a Tcl Script on the Mac
2.4 Bottom Line
2.5 Problems

Introduction to the Tcl Language.
3.1 Overview of the Basics
3.1.1 Syntax
3.1.2 Grouping Words
3.1.3 Comments
3.1.4 Data Representation
3.1.5 Command Results
3.1.6 Errors
3.2 Command Evaluation and Substitutions
3.2.1 Substitution
3.2.2 Controlling Substitutions with Quotes, Curly Braces, and Backslash
3.2.3 Steps in Command Evaluation
3.3 Data Types
3.3.1 Assigning Values to Variables
3.3.2 Strings
3.3.3 String Processing Commands
3.3.4 Lists
3.3.5 List Processing Commands
3.3.6 Associative Arrays
3.3.7 Associative Array Commands
3.3.8 Binary Data
3.3.9 Handles
3.4 Arithmetic and Boolean operations
3.4.1 Math Operations
3.4.2 Conditionals
3.4.3 Looping
3.5 Modularization
3.5.1 Procedures
3.6 Bottom Line
3.7 Problems

File System, Disk I/O and Sockets.
4.0.1 Navigating the File System
4.0.2 Properties of file system items
4.0.3 Removing files
4.1.2 Input
4.1.3 Creating a channel
4.1.4 Closing Channels
4.1 Input/Output in Tcl
4.1.1 Output
4.2 Sockets
4.2.1 Using a client socket
4.2.2 Controlling Data Flow
4.2.3 Server Sockets
4.3 Bottom Line
4.4 Problems

Using Strings and Lists.
5.1 Converting a String into a List
5.2 Examining the List with a for Loop
5.3 Using the foreach Command
5.4 Using the string match instead of string first
5.5 Using lsearch
5.6 The regexp Command
5.6.1 Regular Expression Matching Rules
5.6.2 Advanced and Extended Regular Expression Rules
5.7 Creating a Procedure
5.8 Making a Script
5.9 Speed Considerations
5.10 Bottom Line
5.11 Problems

Building complex data structures with lists and arrays.
6.1 Using the Tcl List
6.2 Using the Associative Array
6.3 Exception handling and Introspection
6.4 Trees in Tcl
6.5 Tree Library Implementation
6.5.5 Generating unique names
6.6 Using the Tree Library
6.7 Speed Considerations
6.8 Bottom Line
6.9 Problems

Procedure Techniques.
7.1 Arguments to Procedures
7.1.1 Variable Number of Arguments to a Procedure
7.1.2 Default Values for Procedure Arguments
7.2 Renaming or Deleting Commands
7.3 Getting Information about Procedures
7.4 Substitution and Evaluation of Strings
7.4.1 Performing Variable Substitution on a String
7.4.2 Evaluating a String as a Tcl Command
7.5 Working with Global and Local Scopes
7.5.1 Global and Local Scope
7.6.1 An Object Example
7.6.2 Creating a Tree Object
7.6.3 Defining the Object´s Method
7.6 Making a Tcl Object
7.7 Bottom Line
7.8 Problems

Namespaces and Pack.
8.1 Namespaces and Scoping Rules
8.1.1 Namespace Scope
8.1.2 Namespace Naming Rules
8.1.3 Accessing Namespace Entities
8.1.4 Why Use Namespaces?
8.1.5 The namespace and variable Commands
8.1.6 Creating and Populating a Namespace
8.1.7 Namespace Nesting
8.2 Packages
8.2.1 How Packages Work
8.2.2 Internal Details: Files and Variables Used with Packages
8.2.3 Package Commands
8.2.4 Version Numbers
8.2.5 Package Cookbook
8.3 A Tree Object Package with Namespaces
8.3.1 Adding Namespace and Package to tree.tcl
8.3.2 The Tree Object in a Namespace
8.3.3 Procedures and Namespace Scopes
8.4 Bottom Line
8.5 Problems

Introduction to Tk Graphics.
9.1 Creating a Widget
9.2 Conventions
9.2.1 Widget Naming Conventions
9.2.2 Color Naming Conventions
9.2.3 Dimension Conventions
9.3 Common
9.4 Determining and Setting Options
9.5 The Basic Widgets
9.6 Introducing Widgets: label, button, and entry
9.7 Widget Layout: frame, place, pack, and grid
9.7.1 The frame Widget
9.7.2 The place Layout Manager
9.7.3 The pack Layout Manager
9.7.4 The grid Layout Manager
9.7.5 Working Together
9.8 Selection Widgets: radiobutton, checkbutton, menu, and listbox
9.8.1 radiobutton and checkbutton
9.8.2 Pull-down Menus: menu, menubutton and menubars
9.8.2.1 Menubars
9.8.3 Selection widgets: listbox
9.9 Scrollbar
9.9.1 The Basic scrollbar
9.9.2 scrollbar Details
9.9.3 Intercepting scrollbar Commands
9.13.1 Canceling the Future
9.10 The scale Widget
9.11 New Windows
9.12 Interacting with the Event Loop
9.13 Scheduling the Future: after
9.14 Bottom Line
9.15 Problems

Using the canvas widget.
10.1 Overview of the canvas Widget
10.1.1 Identifiers and Tags
10.1.2 Coordinates
10.1.3 Binding
10.2 Creating a canvas
10.3 Creating Displayable Canvas Items
10.3.1 An Exam
10.4 More Canvas Widget Sub