Timer is set_timer(Window, Period, Func)
Creates/Kills a timer object. This is a generator of periodic events. At every Period seconds this object will generate the end message and will send it to the function Func. The timer has to be assigned to a certain window object Window.
If kill_timer cannot close the timer (maybe because it is closed) then it fails.
window object that the timer will be assigned to
Period the interval of time on which the timer event will be raised (in seconds, use float or integer to specify this period)
Func the event handler
Timer the timer object
G_Timer is set_timer(_, 5, time_func).
write("Time event"), nl,