Summary

In this Chapter we have examined the basics of a Perl/Tk program - creating and configuring the main window and other top level windows, the use of pack, grid, and place in inserting and positioning widgets within a window, and also the creation of frames within a window as an aid to widget placement. Finally, we have discussed callbacks associated with certain widgets, and in particular the binding of event sequences with callbacks for widgets. We have not gone into detail explaining the various options associated with these methods - this is better left to the major examples of later chapters, and also your own experience. In the next chapter we will explore the various kinds of basic widgets available in Perl/Tk.

Randy Kobes 2003-11-17