Timer event with callback

Greetings,
There is an excellent Timer in Tk, called TkRtTimer. The functionality
is elegant: It has a callback after an elapsed amount of time.

When I try and include ‘tk’ in a visual ruby project I get into big
trouble.
Does anyone have suggestions about how to get TKRTTimer to work in
visual ruby?
If the task is herculean or unlikely what are the possible solutions?
Most grateful for any help.

Experimenting with EventMachine timers. This would appear to need to run
as a new thread in parallel with the GUI.

Sorry to bother, using Rufus-Scheduler
Seems to work nicely.

Andru M. wrote in post #1126902:

Greetings,
There is an excellent Timer in Tk, called TkRtTimer. The functionality
is elegant: It has a callback after an elapsed amount of time.

there is :
GLib::Timeout.add(n) { block }

which do the job. Doc :
http://ruby-gnome2.sourceforge.jp/hiki.cgi?GLib::Timeout
and
GLib – 2.0

Thanks Regis!