shoes / shoes-deprecated

Former repo for Shoes... see README for up to date locations!
http://shoesrb.com/
Other
1.15k stars 168 forks source link

issue with some events #257

Open dan753722 opened 10 years ago

dan753722 commented 10 years ago

Hi guys,

I just came across this toolkit, and had a play with it this afternoon.

I am struggling to program smoothly with Shoes!

  1. change event does not work. How I wrote it: edit_line do change do

    do something

    end end

  2. I managed to get keypress event running properly on hacketyhack, however, after compiling the source code with Shoes, keypress event does not seem to work either.

What have I done wrong here?

Cheers,

Daniel

PragTob commented 10 years ago

Hi there thanks for your report.

  1. I believe it should be more like this:
edit = edit_line
edit.change do ... end
  1. No idea without the code :-)