17. An Introduction to Tk
Tk is a toolkit package that allows you to create graphical user interfaces by writing Tcl scripts. Tk extends the built-in Tcl command set described in Part I with additional commands for creating user interface elements called widgets, arranging them into interesting layouts on the screen using geometry managers, and connecting them to each other with the enclosing application. Although Tk was developed to work with Tcl, other dynamic languages such as Perl, Python, and Ruby have adapted Tk to give these languages the ability to create graphical user interfaces. The commands and descriptions here apply to those languages as well, but the syntax is different. This part of the book describes Tk’s Tcl commands.
Like ...
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