Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[fxruby] FXImageFrame/SEL_LEFTBUTTONRELEASE
Mathijs Claassen
4/1/2008 10:51:00 AM
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.
PS. I asked this question on the fxruby-users mailing list last week,
but I didn't get a reply, hence my post here.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[fxruby] FXImageFrame/SEL_LEFTBUTTONRELEASE
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password