XtAppAddWorkProc(3xt) XT FUNCTIONS XtAppAddWorkProc(3xt)NAME
XtAppAddWorkProc, XtRemoveWorkProc - Add and remove background process‐
ing procedures
SYNTAX
cc [ flag... ] file... -lXt [ library... ]
XtWorkProcId XtAppAddWorkProc(XtAppContext app_context, XtWorkProc
proc, XtPointer client_data);
void XtRemoveWorkProc(XtWorkProcId id);
ARGUMENTS
app_context
Specifies the application context that identifies the appli‐
cation.
client_data
Specifies the argument that is to be passed to the specified
procedure when it is called.
proc Specifies the procedure that is.
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 back‐
ground work procedure.
SEE ALSOXtAppNextEvent(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬───────────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼───────────────────────────────────┤
│Availability │x11/library/toolkit/libxt │
├─────────────────────────────┼───────────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼───────────────────────────────────┤
│MT-Level │See XtToolkitThreadInitialize(3XT) │
└─────────────────────────────┴───────────────────────────────────┘
X Version 11 libXt 1.0.8 XtAppAddWorkProc(3xt)