XtAppAddTimeOut()

NAME

XtAppAddTimeOut(), XtRemoveTimeOut() - register and remove time-outs

SYNOPSIS

XtIntervalId XtAppAddTimeOut (XtAppContext app_context,
							unsigned long interval,
							XtTimerCallbackProc proc,
							XtPointer client_data)
void XtRemoveTimeOut (XtIntervalId timer)

ARGUMENTS

app_context
Specifies the application context for which the timer is to be set.
client_data
Specifies the argument that is to be passed to the specified procedure when called.
interval
Specifies the time interval in milliseconds.
proc
Specifies the procedure that is to be called when time expires.
timer
Specifies the ID for the time-out request to be destroyed.

DESCRIPTION

The XtAppAddTimeOut(3) function creates a time-out and returns an identifier for it. The time-out value is set to interval. The callback procedure is called when the time interval elapses, and then the time-out is removed.

The XtRemoveTimeOut(3) function removes the time-out. Note that time-outs are automatically removed once they trigger.

SEE ALSO

XtAppAddInput()

X Toolkit Intrinsics - C Language Interface

Xlib - C Language X Interface