1XtAppAddTimeOut(3) XT FUNCTIONS XtAppAddTimeOut(3)
2
3
4
6 XtAppAddTimeOut, XtRemoveTimeOut - register and remove timeouts
7
9 #include <X11/Intrinsic.h>
10
11 XtIntervalId XtAppAddTimeOut(XtAppContext app_context, unsigned long
12 interval, XtTimerCallbackProc proc, XtPointer client_data);
13
14 void XtRemoveTimeOut(XtIntervalId timer);
15
17 app_context
18 Specifies the application context for which the timer is to
19 be set.
20
21 client_data
22 Specifies the argument that is to be passed to the specified
23 procedure when handling the callback.
24
25 interval Specifies the time interval in milliseconds.
26
27 proc Specifies the procedure that is to be called when time
28 expires.
29
30 timer Specifies the ID for the timeout request to be destroyed.
31
33 The XtAppAddTimeOut function creates a timeout and returns an identi‐
34 fier for it. The timeout value is set to interval. The callback pro‐
35 cedure is called when the time interval elapses, and then the timeout
36 is removed.
37
38 The XtRemoveTimeOut function removes the timeout. Note that timeouts
39 are automatically removed once they trigger.
40
42 XtAppAddInput(3),XtAppAddSignal(3)
43 X Toolkit Intrinsics - C Language Interface
44 Xlib - C Language X Interface
45
46
47
48X Version 11 libXt 1.2.0 XtAppAddTimeOut(3)