I have a FXImageFrame widget and I would like it to show another image
when I click on it.

I’m having no luck with receiving a onclick via SEL_LEFTBUTTONRELEASE.

imageframe.connect(SEL_LEFTBUTTONRELEASE) {p ‘onclick received’}

What is it that I’m missing?

Thanks in advance,

PS. I asked this question on the fxruby-users mailing list last week,
but I didn’t get a reply, hence my post here.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs