Book HomeMastering Perl/TkSearch this book

10.12. Setting the Value of a Scale

The set method forces the value associated with the Scale:

$scale->set(value);

This method is great for setting an initial value if you aren't using the -variable option at all. If you're using -variable, just set that variable to the desired starting value.



Library Navigation Links

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