DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 
X Version 11 (Release 5)

XtAppAddWorkProc(Xt)


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


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.

See also

XtAppNextEvent(Xt)

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


© 2003 X Toolkit Intrinsics (Xt)
SCO OpenServer Release 5.0.7 -- 11 February 2003