MirOS Manual: XtAppAddTimeOut(3), XtAppAddTimeout(3), XtRemoveTimeOut(3)


XtAppAddTimeOut(3Xt)      XT FUNCTIONS       XtAppAddTimeOut(3Xt)

NAME

     XtAppAddTimeOut, XtRemoveTimeOut - register and remove
     timeouts

SYNTAX

     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 .

     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 timeout request to be
               destroyed.

DESCRIPTION

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

     The XtRemoveTimeOut function removes the timeout. Note that
     timeouts are automatically removed once they trigger.

SEE ALSO

     XtAppAddInput(3Xt),XtAppAddSignal(3Xt)
     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

XFree86                   Version 4.5.0                         1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.