I am starting to code GUIs using Shoe. I tried the progress bar from the examples, but could not exit the animation, it breakdid not work ...
animate do |frames|
unless frames > 100
@p.fraction = (frames % 100) / 100.0
else
break
end
end
Is it possible to stop the animation with shoes? Thank.
Scott source
share