Book HomeMastering Perl/TkSearch this book

10.9. Options You'll Probably Never Need

The two final options for the Scale widget creation method are -bigincrement and -digits. The -bigincrement option specifies the size of jumps when using really large numbers. The default for -bigincrement is 0, which means it will jump in increments that are 1/10 the total range.

The -digits option represents how many digits will be used when converting from a number to a string. The default (0) forces the Scale to use a precision that allows for a different string for every possible value on the Scale.



Library Navigation Links

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