Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
E-book details
Log in, If you're interested in the contents of the item.
Tcl/Tk 8.5 Programming Cookbook. With over 100 recipes, this Cookbook is ideal for both beginners and advanced Tcl/Tk programmers. From the basics to creating applications, it’s full of indispensable tips and tricks to make the most of the language
Bert Wheeler, Delbert A Wheeler, Clif Flynt
Ebook
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.5 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.
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.
- Tcl/Tk 8.5 Programming Cookbook
- Table of Contents
- Copyright
- Credits
- About the Author
- Acknowledgment
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Errata
- Piracy
- Questions
- 1. The Tcl Shell
- Introduction
- The Tcl shell
- Writing to the Tcl console
- Getting ready
- How to do it
- How it works
- Mathematical expressions
- Tcl expr operands
- Mathematical functions
- Computing mathematical expressions
- Referencing files in Tcl
- UNIX (UNIX, Linux and Mac OS X)
- Windows
- Variables
- Basic variable commands
- Getting Ready
- How to do it
- How it works
- Theres more
- Unsetting a variable
- Command line arguments
- Launching a Tcl script
- Getting Ready
- How to do it
- How it works
- There's more
- 2. Using the Building Blocks Control Constructs
- Introduction
- Controlling flow with the if statement
- How to do it
- How it works
- There's more
- Looping with for
- How to do it
- How it works
- Looping with foreach
- How to do it
- How it works
- Looping with while
- How to do it
- How it works
- Continuing a procedure
- How to do it
- How it works
- Breaking out of a procedure
- How to do it
- How it works
- Nested looping
- How to do it
- How it works
- There's more
- 3. Error Handling
- Introduction
- Using the catch command
- Getting ready
- How to do it
- How it works
- Using the eval command
- Getting ready
- How to do it
- How it works
- There's more
- Using the error command
- Getting ready
- How to do it
- How it works
- Error handling procedure
- Getting ready
- How to do it
- How it works
- 4. Handling String Expressions
- Introduction
- Appending to a string
- How to do it
- How it works
- Formatting a string
- How to do it
- How it works
- Matching a regular expression within a string
- Getting ready
- How to do it
- How it works
- Performing character substitution on a string
- How to do it
- How it works
- Parsing a string using conversion specifiers
- How to do it
- How it works
- Determining the length of a string
- How to do it
- How it works
- Comparing strings
- Getting ready
- How to do it
- How it works
- Comparing a string of characters
- How to do it
- How it works
- Locating the first instance of a character
- How to do it
- How it works
- Locating the index of a character
- How to do it
- How it works
- Determining the class of a string
- How to do it
- How it works
- Locating the last instance of a string
- How to do it
- How it works
- Determining the size of a string
- How to do it
- How it works
- Replacing values within a string
- How to do it
- How it works
- Locating a pattern within a string
- How to do it
- How it works
- Returning a range of characters from a string
- How to do it
- How it works
- Creating a string of repeated characters
- How to do it
- How it works
- Replacing ranges of characters contained within a string
- How to do it
- How it works
- Creating a reverse string
- Getting ready
- How to do it
- How it works
- Converting a string to lowercase
- How to do it
- How it works
- Converting a string to title
- How to do it
- How it works
- Converting a string to uppercase
- How to do it
- How it works
- Trimming a string
- How to do it
- How it works
- Trimming leading whitespace
- How to do it
- How it works
- Trimming trailing whitespace
- How to do it
- How it works
- Locating the word end
- How to do it
- How it works
- Locating the word start
- How to do it
- How it works
- Performing variable substitution
- How to do it
- How it works
- 5. Expanding String Functionality Using Lists
- Introduction
- Creating a list
- How to do it
- How it works
- There's more
- Joining two lists
- How to do it
- How it works
- There's more
- Joining list elements
- How to do it
- How it works
- There's more
- Appending list elements
- How to do it
- How it works
- Assigning list elements to variables
- How to do it
- How it works
- Retrieving an element from a list
- How to do it
- How it works
- Inserting elements into a list
- How to do it
- How it works
- Determining the number of elements
- How to do it
- How it works
- Getting a list element
- How to do it
- How it works
- Repeating elements
- How to do it
- How it works
- There's more
- Replacing elements
- How to do it
- How it works
- Reversing elements
- How to do it
- How it works
- Searching a list
- How to do it
- How it works
- Editing a list
- How to do it
- How it works
- Sorting a list
- How to do it
- How it works
- Splitting a string into a list
- How to do it
- How it works
- 6. The Tcl Dictionary
- Introduction
- Creating a dictionary
- How to do it
- How it works
- There's more
- Using set with the dict create command
- Appending to a dictionary
- How to do it
- How it works
- Determining if a key exists
- How to do it
- How it works
- Filtering a dictionary
- How to do it
- How it works
- There's more
- Searching a dictionary
- How to do it
- How it works
- Getting a record
- How to do it
- How it works
- Incrementing a value
- How to do it
- How it works
- Getting the dictionary structure
- How to do it
- How it works
- Getting a list of keys
- How to do it
- How it works
- Appending to an existing record
- How to do it
- How it works
- Merging two dictionaries
- How to do it
- How it works
- Creating a blank dictionary structure
- How to do it
- How it works
- Updating variables from a dictionary
- How to do it
- How it works
- Determining the size of a dictionary
- How to do it
- How it works
- Getting all records
- How to do it
- How it works
- Assigning values
- How to do it
- 7. File Operations
- Introduction
- Opening a file
- How to do it
- How it works
- There's more
- Configuring a file
- How to do it
- There's more
- Opening a command pipeline
- How to do it
- How it works
- There's more
- Writing a file
- How to do it
- How it works
- Reading a file
- How to do it
- How it works
- Closing a file
- How to do it
- How it works
- File handling
- Getting ready
- How to do it
- How it works
- 8. Tk GUI Programming with Tcl/Tk
- Introduction
- Creating a widget
- How to do it
- How it works
- There's more
- Writing to the console
- How to do it
- How it works
- Setting the attributes of the window through window manager
- How to do it
- How it works
- Creating an additional window
- Standard options:
- Window-specific options
- Commands
- How to do it
- How it works
- Destroying a window
- How to do it
- How it works
- There's more
- Creating a custom dialog
- How to do it
- How it works
- 9. Configuring and Controlling Tk Widgets
- Introduction
- Creating a frame widget
- How to do it
- How it works
- Creating a label widget
- How to do it
- How it works
- Creating an entry widget
- How to do it
- How it works
- Creating a button widget
- How to do it
- How it works
- Creating a listbox widget
- How to do it
- How it works
- Creating an image
- Getting ready
- How to do it
- How it works
- Creating a simple form
- How to do it
- How it works
- 10. Geometry Management
- Introduction
- Controlling layout with the pack command
- How to do it...
- How it works
- Controlling layout with the grid command
- How to do it
- How it works
- Combining pack and grid
- How to do it
- How it works
- Creating an address book interface
- Getting ready
- How to do it
- How it works
- 11. Using Tcl Built-in Dialog Windows
- Introduction
- Displaying a message box
- How to do it
- How it works
- Displaying a confirmation dialog
- How to do it
- How it works
- Displaying the color picker
- How to do it
- How it works
- Displaying the directory dialog
- How to do it
- How it works
- Displaying the file selection dialog
- How to do it
- How it works
- Selecting a directory and file
- How to do it
- How it works
- 12. Creating and Managing Menus
- Introduction
- Creating a menu
- How to do it
- How it works
- Adding menu buttons
- How to do it
- How it works
- Displaying a pop-up menu
- How to do it
- How it works
- Data entry application
- How to do it
- How it works
- 13. Creating the Address Book Application
- Introduction
- Creating the Address Book application
- How to do it
- How it works
- Adding a record
- How to do it
- How it works
- Navigating records
- How to do it
- How it works
- Deleting a record
- How to do it
- How it works
- Finding a record
- How to do it
- How it works
- Full listing
- Index
- Title: Tcl/Tk 8.5 Programming Cookbook. With over 100 recipes, this Cookbook is ideal for both beginners and advanced Tcl/Tk programmers. From the basics to creating applications, it’s full of indispensable tips and tricks to make the most of the language
- Author: Bert Wheeler, Delbert A Wheeler, Clif Flynt
- Original title: Tcl/Tk 8.5 Programming Cookbook. With over 100 recipes, this Cookbook is ideal for both beginners and advanced Tcl/Tk programmers. From the basics to creating applications, it’s full of indispensable tips and tricks to make the most of the language.
- ISBN: 9781849512992, 9781849512992
- Date of issue: 2011-02-11
- Format: Ebook
- Item ID: e_3c9p
- Publisher: Packt Publishing