| ||||||
|
|
Tcl_CreateTimerHandlerPrepared by Ready-to-Run Software, Inc. Tcl_CreateTimerHandlerTcl Library Procedures 7.5_________________________________________________________________ Tcl_CreateTimerHandlerTcl Library Procedures 7.5
Proc should have arguments and return value that match the
type Tcl_TimerProc:
typedef void Tcl_TimerProc(ClientData clientData);
The clientData parameter to proc is a copy of the clientData
argument given to Tcl_CreateTimerHandler when the callback
was created. Typically, clientData points to a data struc-
ture containing application-specific information about what
to do in proc.
Tcl_DeleteTimerHandler may be called to delete a
previously-created timer handler. It deletes the handler
indicated by token so that no call to proc will be made; if
that handler no longer exists (e.g. because the time period
has already elapsed and proc has been invoked then
Tcl_DeleteTimerHandler does nothing. The tokens returned by
Tcl_CreateTimerHandler never have a value of NULL, so if
NULL is passed to Tcl_DeleteTimerHandler then the procedure
does nothing.
|
|
|
Email addresses listed on this site may NOT be used for unsolicited commercial email. Ready-to-Run Software, Inc Privacy Statement Portions (c)Copyright, 1996-2005 by
Ready-to-Run
Software, Inc |
To return to the Ready-to-Run Software WinPak Table of contents please presshere