Book HomeMastering Perl/TkSearch this book

10.3. Orientation

To change the orientation of the Scale, use the -orient option. It takes a string value that should contain either "horizontal" or "vertical". The default for this option is "vertical". Figure 10-2 shows both a horizontal Scale and a vertical Scale.

Figure 10-2

Figure 10-2. Vertical Scale (the default orientation) and horizontal Scale



Library Navigation Links

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