simple code snippet:
Shoes.app :title => "Testing!" do
@play = button("play", :width=> "100px")
@toggle = button("toggle", :width=> "100px")
@toggle.click {
@play.toggle()
}
end
I am using button.toggle for the first time, however when my code hits
the @play.toggle(), Shoes throws "undefined method 'toggle' for
(Shoes::Button):Shoes::Button" - I am assuming this is a bug?...
Also, based on this post, I have a feature request: it would be nice to be
able to cut and past from the 'Shoes Console'
Thanks,
Ray Case