Displaying 1 result from an estimated 1 matches for "oninputdata".
Did you mean:
inputdata
2006 Oct 26
0
Question about events and addInput
...type in text and it updates; however, the window
also displays the hourglass icon when the mouse pointer is over it and it
blocks using the window cancel button (upper right X) to close it. Am I
doing something wrong in my code that blocks the "close" event and causes
the hourglass?
def onInputData( sender, sel, ptr)
@msg.text = $stdin.gets
@app.refresh
end
@app.addInput($stdin, INPUT_READ, method(:onInputData))
Thanks
Dave McDonald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/fxruby-users/attachments/20061026/2...