Class GTimer

This class implements both one-shot and interval timers. Objects of type GTimer are created by the set_timeout and set_interval in the GWindow class.


Method Summary
start()
Starts the timer.
stop()
Stops the timer.
 

Method Detail

start()

Starts the timer. The timer is automatically started by calls to set_timeout and set_interval in the GWindow class. This method allows you to restart the timer after stopping it.
Usage: timer.start() 
 


stop()

Stops the timer.
Usage: timer.stop()