XtAppAddWorkProc(Xt) X Version 11 (Release 5) XtAppAddWorkProc(Xt)
6 January 1993
Name
XtAppAddWorkProc - add and remove background processing procedures
Syntax
XtWorkProcId XtAppAddWorkProc (app_context, proc, client_data)
XtAppContext app_context;
XtWorkProc proc;
XtPointer client_data;
void XtRemoveWorkProc (id)
XtWorkProcId id;
Arguments
appcontext
Specifies the application context that identifies the applica-
tion.
clientdata
Specifies the argument that is to be passed to the specified
procedure when it is called.
proc Specifies the procedure that is to be called when the applica-
tion is idle.
id Specifies which work procedure to remove.
Description
The XtAppAddWorkProc function adds the specified work procedure for the
application identified by appcontext.
The XtRemoveWorkProc function explicitly removes the specified background
work procedure.
See also
XtAppNextEvent(Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface