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).

Two Scales with labels

Figure 10-3. Two Scales with labels

Get Mastering Perl/Tk 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.