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