1XtAppAddTimeOut(3)               XT FUNCTIONS               XtAppAddTimeOut(3)
2
3
4

NAME

6       XtAppAddTimeOut, XtRemoveTimeOut - register and remove timeouts
7

SYNTAX

9       XtIntervalId XtAppAddTimeOut(XtAppContext app_context, unsigned long
10              interval, XtTimerCallbackProc proc, XtPointer client_data);
11
12       void XtRemoveTimeOut(XtIntervalId timer);
13

ARGUMENTS

15       app_context
16                 Specifies the application context for which the timer is to
17                 be set.
18
19       client_data
20                 Specifies the argument that is to be passed to the specified
21                 procedure when .
22
23       interval  Specifies the time interval in milliseconds.
24
25       proc      Specifies the procedure that is to be called when time
26                 expires.
27
28       timer     Specifies the ID for the timeout request to be destroyed.
29

DESCRIPTION

31       The XtAppAddTimeOut function creates a timeout and returns an identi‐
32       fier for it.  The timeout value is set to interval.  The callback pro‐
33       cedure is called when the time interval elapses, and then the timeout
34       is removed.
35
36       The XtRemoveTimeOut function removes the timeout.  Note that timeouts
37       are automatically removed once they trigger.
38

SEE ALSO

40       XtAppAddInput(3),XtAppAddSignal(3)
41       X Toolkit Intrinsics - C Language Interface
42       Xlib - C Language X Interface
43
44
45
46X Version 11                      libXt 1.1.4               XtAppAddTimeOut(3)
Impressum