Umfang:
Online-Ressource (XVIII, 792 S)
,
Ill., graph. Darst.
Ausgabe:
3. ed.
Ausgabe:
Online-Ausg. 2011 Electronic reproduction; Available via World Wide Web
ISBN:
1283447894
,
9781283447898
Serie:
The Morgan Kaufmann series in software
Inhalt:
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. Includes the latest features of Tcl/Tk 8.6 Covers Tcl development tools, popular extensions, and packages to allow developers to solve real-world problems with Tcl/Tk immediately Provides straightforward explanations for beginners and offers tips, style guidelines, and debugging techniques for advanced users Companion website includes Tcl/Tk tutorials, applications, distributions, and more tools
Inhalt:
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 d
Anmerkung:
Includes index
,
Machine generated contents note: Chapter 1: Tcl/Tk Features Chapter 2: The Mechanics of Using the Tcl and Tk Interpreters Chapter 3: Introduction to the Tcl Language Chapter 4: File System, Disk I/O and Sockets Chapter 5: Using Strings and Lists Chapter 6: Basic list, array and dict Chapter 7: Advanced List, array and dict Chapter 8: Procedure Techniques Chapter 9: Namespaces Chapter 10: Basic TclOO Chapter 11: Advanced TclOO Chapter 12: Packages and modules Chapter 13: Introduction to Tk Graphics Chapter 14: Overview of the canvas Widget Chapter 15: The text widget and htmllib Chapter 16: Themed Widgets Chapter 17: Tk Megawidgets Chapter 18: Writing a Tcl Extension Chapter 19: Extensions and Packages Chapter 20: Programming Tools Chapter 21: Debugging and Optimization techniques Chapter 22: Tips and Techniques
,
Front Cover; Tcl/Tk: A Developer's Guide; Copyright; Table of Contents; Foreword; Preface; Tcl/Tk: GUI Programming in a Gooey World; Acknowledgments; Introduction; Where to Get More Information; 1 Tcl/Tk Features; 1.1 Tcl Overview; 1.1.1 The Standard Tcl Distribution; 1.1.2 Documentation; 1.2 Tcl as a Glue Language; 1.2.1 Tcl Scripts Compared with UNIX Shell Scripts; 1.2.2 Tcl Scripts Compared with MS-DOS .bat Files; 1.3 Tcl as a General-purpose Interpreter; 1.3.1 Tcl/Tk Compared to Visual Basic; 1.3.2 Tcl/Tk Compared to Perl; 1.3.3 Tcl/Tk Compared to Python; 1.3.4 Tcl/Tk Compared to Java
,
1.4 Tcl as an Extensible Interpreter1.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; 2 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; Errors Caused by Improper Installation; 2.1.3 Starting tclsh or wish under Microsoft Windows; 2.1.4 Starting tclsh or wish on the Mac; Making a Desktop Icon; 2.1.5 Exiting tclsh or wish; 2.2 Using tclsh/wish Interactively
,
2.2.1 Tclsh as a Command Shell2.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; Changing File Association on Windows XP and Earlier; Changing File Association on Windows Vista and Windows 7; 2.3.5 Evaluating a Tcl Script on the Mac; 2.4 Bottom Line; 2.5 Problems; 3 Introduction to the Tcl Language; 3.1 Overview of the Basics
,
3.1.1 Syntax3.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 the Backslash; Splitting Lists; 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; String and Format Command Examples; 3.3.4 Lists; 3.3.5 List Processing Commands; 3.3.6 Dictionaries; 3.3.7 Associative Arrays; 3.3.8 Associative Array Commands; 3.3.9 Binary Data
,
3.3.10 Handles3.4 Arithmetic and Boolean Operations; 3.4.1 Math Operations; Trigonometric Functions; Exponential Functions; Conversion Functions; Random Numbers; 3.4.2 Conditionals; The if Command; The switch Command; 3.4.3 Looping; The for Command; The while Command; The foreach Command; 3.4.4 Exception Handling in Tcl; 3.5 Modularization; 3.5.1 Procedures; 3.5.2 Loading Code from a Script File; 3.5.3 Examining the State of the Tcl Interpreter; 3.6 Bottom Line; 3.7 Problems; 4 Navigating the File System, Basic I/O and Sockets; 4.1 Navigating the File System; 4.1.1 Constructing File Paths
,
4.2 Properties of File System Items
,
Electronic reproduction; Available via World Wide Web
Weitere Ausg.:
ISBN 9780123847188
Weitere Ausg.:
ISBN 0123847176
Weitere Ausg.:
ISBN 128344786X
Weitere Ausg.:
ISBN 0123847176
Weitere Ausg.:
ISBN 9780123847171
Weitere Ausg.:
ISBN 9780123847171
Weitere Ausg.:
Erscheint auch als Druck-Ausgabe Tcl/Tk A Developer's Guide
Sprache:
Englisch
Schlagwort(e):
Tcl
;
Electronic books
Bookmarklink