Overview
Tcl (Tool Command Language) is an interpreted high-level programming language that is highly readable and customizable. Tk (Tool Kit) is a graphical toolkit that is often used together with Tcl.
This instructor-led, live training (online or onsite) is aimed at developers or anyone who wish to learn the basics of Tcl and Tk as they step through the creation of a basic word processing application.
By the end of this training, participants will be able to:
- Create complex GUIs using only a few dozen lines of code.
- Quickly create simple GUI programs for Linux.
Format of the Course
- Interactive lecture and discussion.
- Lots of exercises and practice.
- Hands-on implementation in a live-lab environment.
Course Customization Options
- To request a customized training for this course, please contact us to arrange.
Requirements
- Experience with the Linux command line
- An understanding of basic programming concepts
Audience
- Developers
- Engineers
- System administrators
Course Outline
Introduction
- Overview of Tcl
- Tcl features and applications
Getting Started
- Setting up a local environment
- Overview of Tcl basic syntax
Understanding Tcl Programming
- Variables
- Control Structures
- Arrays
- Procedures
Using Widgets
- Widgets overview
- Using basic widgets
- Using layout widgets
- Using selection widgets
- Using canvas widgets
- Using mega widgets
Using Customization Tools
- Setting labels
- Generating message
- Adding buttons
- Creating menus
- Using frames
- Entering data
- Adding scrollbars
- Adding listbox
Working with Text
- Creating fonts
- Creating and manipulating images
Managing Events
- Binding events
- Linking events with a button
Using Windows Manager
- Creating a window
- Destroying a window
Using the Pack Geometry Manager
- Positioning and sizing
- Using grid geometry
Troubleshooting
Summary and Next Steps