-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Tcl/Tk 8.5 Programming Cookbook
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
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 elsewhere for a solution.
I am sure that you have seen interfaces with bizarre combinations of colors. While they may be the developer's favorite colors in the world, they are not necessarily the best choice for an application. Add in a poor selection...
Change the font size
Change margin width
Change background colour