Book HomeMastering Perl/TkSearch this book

10.6. Adding a Label

You can add a label to your Scale by using the -label option. The label is placed in a different location depending on the value associated with -orient (see Figure 10-3).

Figure 10-3

Figure 10-3. Two Scales with labels



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.