MirBSD manpage: XtAppAddTimeOut(3), XtAppAddTimeout(3), XtRemoveTimeOut(3)

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


     XtAppAddTimeOut, XtRemoveTimeOut - register and remove


     XtIntervalId XtAppAddTimeOut(XtAppContext app_context,
          unsigned long interval, XtTimerCallbackProc proc,
          XtPointer client_data);

     void XtRemoveTimeOut(XtIntervalId timer);


               Specifies the application context for which the
               timer is to be set.

               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


     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.


     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

XFree86                   Version 4.5.0                         1

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

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