Chapter 10. Geometry Management

In this chapter, we will cover the following topics:

  • Controlling layout with the pack command
  • Controlling layout with the grid command
  • Combining pack and grid
  • Creating an address book interface

Introduction

For the purpose of this chapter the term geometry management refers to the layout and the design of the interface and not the wm command. The GUI is your primary method of interacting with the end user and, as such, is your opportunity to make a good first impression.

Although the specifics of GUI design are not directly covered in this chapter, we need to keep in mind that a poorly designed and executed interface may not only result in frustration for the end user, but also may actually result in the end user looking ...

Get Tcl/Tk 8.5 Programming Cookbook 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.