XtRemoveTimeOut()XtRemoveTimeOut()NameXtRemoveTimeOut - unregister a timeout procedure.
Synopsis
void XtRemoveTimeOut(id)
XtIntervalId id;
Inputs
id Identifies the timeout interval and the timeout callback to
be removed.
DescriptionXtRemoveTimeOut() unregisters the timeout callback identified by id.
id is the handle returned by the call to XtAppAddTimeOut() that regis‐
tered the timeout interval and the procedure.
Usage
Note that timeouts are automatically removed once they expire and the
callback has been called; therefore, you often do not need to call
XtRemoveTimeOut(). On the other hand, if you need user input within a
specified amount of time, for example, then you should register a time‐
out callback, and if the input arrives before the timeout callback is
called, then you should remove the timeout callback so that it isn't
called when the application is not expecting it.
Structures
The XtIntervalId structure is defined as follows:
typedef unsigned long XtIntervalId;
See AlsoXtAppAddTimeOut(1),
XtTimerCallbackProc(2).
Xt - Event Handling XtRemoveTimeOut()