[fxruby-users] realspinner segfaults

Meinrad Recheis meinrad.recheis at gmail.com
Mon Mar 6 13:57:07 EST 2006


hi lyle,
spinner is also a german word meaning crazy person ^^
in this case nomen est omen. realspinner segfaults in line 1 of this script:

0: realspinner.connect(SEL_COMMAND){|a, b, c|
1:     p c
2: }

the docs say:
 SEL_COMMAND:sent whenever the spinner's value changes; the message data is
an integer indicating the new spinner value. SEL_CHANGED:sent whenever the
text in the spinner's text field changes; the message data is an integer
indicating the new spinner value.
i think it should also be a float instead of an integer, shouldn't it?

-- henon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/fxruby-users/attachments/20060306/bfd70c8c/attachment-0001.htm 


More information about the fxruby-users mailing list