Chapter 51. Tcl 7.4/Tk 4.0
This chapter has notes about upgrading your application to Tcl 7.4 and Tk 4.0 from earlier versions of Tk such as Tk 3.6. This includes notable new features that you may want to take advantage of as well as things that need to be fixed because of incompatible changes.
Porting your scripts from any of the Tk version 3 releases is easy. Not that many things have changed. The sections in this chapter summarize what has changed in Tk 4.0 and what some of the new commands are.
wish
The wish shell no longer requires a -file (or -f) argument, so you can drop this from your script header lines. This flag is still valid but no longer necessary.
The class name of the application is set from the name of the script file instead of always ...
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