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.

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.