Package Win32::GUI::Timer

Back to the Packages


Constructor

new Win32::GUI::Timer(PARENT, NAME, ELAPSE)

Creates a new timer in the PARENT window named NAME that will trigger its Timer() event after ELAPSE milliseconds. Can also be called as PARENT->AddTimer(NAME, ELAPSE).


Methods

Interval(ELAPSE)

Changes the timeout value of the Timer to ELAPSE milliseconds. If ELAPSE is 0, the Timer is disabled; can also be used to resume a Timer after a Kill().

Kill()

Disables the Timer.


Events

Timer()

Sent when the Timer reaches its timeout value, eg. after the number of milliseconds specified when creating the Timer.