Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

issue with some events #257

Open
dan753722 opened this issue Jan 2, 2014 · 1 comment
Open

issue with some events #257

dan753722 opened this issue Jan 2, 2014 · 1 comment

Comments

@dan753722
Copy link

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
Copy link
Member

PragTob commented Jan 2, 2014

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 :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants