I am using tk::progressbar and there's no compilation errors but the color of progressbar is not changed.
Here's example
@colors = (0,'green');
$progress = $mw->ProgressBar(
-width => 20,
-length => 200,
-colors => \@colors,
-variable => \$progress,
)->pack();
if ($x<10)...
Dear perl professionals,
I have a problem in my perl code. I am trying to create progressbar which will be able to adapt its color according to specific decision i.e. if ($x<10)
$progress->configure(-colors=>[10,"green"])
else
$progress->configure(-colors=>[10,"red"])
assume...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.