Tk is an extension to Tcl. It provides Tcl with commands for easily creating and managing graphical objects, or widgets, so providing a way to add graphical user interfaces (GUIs) to Tcl applications.
In this section we will describe the main Tk widgets, the Tcl commands used to manipulate them, how to give them behaviors, and generally how to arrange them into groups to create a GUI.
|• Types of Widget||Types of Widget|
|• Widgets Hierarchies||Widgets Hierarchies|
|• Widget Creation||Widget Creation|
|• Geometry Managers||Geometry Managers|
|• Event Handling||Event Handling|
|• What We Have Left Out (Tk)||What We Have Left Out|
|• Queens Display||Example pure Tcl/Tk program|