29. Odds and Ends

This chapter describes several additional Tk commands: destroy, which deletes widgets; update, which forces operations that are normally delayed, such as screen updates, to be done immediately; winfo, which provides a variety of information about windows, such as their dimensions and children; bell, for ringing the bell; and tk, which provides access to various internals of the Tk toolkit. This chapter also describes several predefined variables that are read or written by Tk and may be useful in Tk applications.

29.1 Commands Presented in This Chapter

This chapter discusses the following commands:

destroy window ?window window ...?

Deletes each of the windows and all of the windows descended from them. The corresponding ...

Get Tcl and the Tk Toolkit, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.