[fxruby-users] FXImageFrame/SEL_LEFTBUTTONRELEASE

Mathijs C mathijs.claassen at gmail.com
Tue Mar 25 15:46:24 EDT 2008


Hi,

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=FXImageFrame.new(mainwindow,the_image,LAYOUT_EXPLICIT,0,0,20,20)
  imageframe.connect(SEL_LEFTBUTTONRELEASE) {p 'onclick received'}
...

What is it that I'm missing?

Thanks in advance,
Mathijs.
-- 
View this message in context: http://www.nabble.com/FXImageFrame-SEL_LEFTBUTTONRELEASE-tp16286969p16286969.html
Sent from the FXRuby Users mailing list archive at Nabble.com.



More information about the fxruby-users mailing list