X Version 11 (Release 6.1)
XtAppAddWorkProc(X3xt)
XtAppAddWorkProc --
add and remove background processing procedures
Synopsis
XtWorkProcId XtAppAddWorkProc (app_context, proc, client_data)
XtAppContext app_context;
XtWorkProc proc;
XtPointer client_data;
void XtRemoveWorkProc (id)
XtWorkProcId id;
Arguments
app_context-
Specifies the application context that identifies the application.
client_data-
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 application
is idle.
id-
Specifies which work procedure to remove.
Description
The XtAppAddWorkProc function adds the specified work
procedure for the application identified by app_context.
The XtRemoveWorkProc function explicitly removes
the specified background work procedure.
References
XtAppNextEvent(X3xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004