Getting the Value of a Scale
The
get
method returns the current value of the Scale:
$value = $scale->get();
You can also specify x and y coordinates and retrieve the value of the Scale at that point:
$value = $scale->get(x, y
);
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.