I want to process and event at regular time intervals. It appears that
Wx::Timer should do the job, but I haven''t been able to figure out how
to use in in wxruby. The documentation for this is still for C++. I''ve
tried the following:
(In my form class''s initialize method):
@timer = Wx::Timer.new
evt_timer(@timer.id) {|event| onTimer(event)}
@timer.start(1000)
Later in the form, I have the onTimer routine defined. The problem is
that its never being called.
Does anyone know how to use Wx::Timer?
Thanks in advance
---Michael
--
Posted via http://www.ruby-forum.com/.