18. A Tour of the Tk Widgets
This chapter introduces the classic widget classes implemented by Tk, which have been around since nearly the beginning of Tcl. They provide a cross-platform means to create user interfaces for your scripts. In addition, these classic widgets provide an easy way to add a user interface to an existing application, whether written in Tcl or not. With the ability to embed a Tcl interpreter within applications, you can extend your applications with a graphical user interface. Or you can use Tcl’s commands to drive a command-line application and use Tk widgets to introduce a user interface.
In addition to the classic Tk widgets, recent years have seen the development of a set of themed widgets. Themes aim to separate ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access