XtAppAddWorkProc(X3xt) X Version 11 (Release 6.1)
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
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.