Scroll to navigation

XtAppAddWorkProc(3) XT FUNCTIONS XtAppAddWorkProc(3)

NAME

XtAppAddWorkProc, XtRemoveWorkProc - Add and remove background processing procedures

SYNTAX

#include <X11/Intrinsic.h>

XtWorkProcId XtAppAddWorkProc(XtAppContext app_context, XtWorkProc proc, XtPointer client_data);

void XtRemoveWorkProc(XtWorkProcId id);

ARGUMENTS

Specifies the application context that identifies the application.
Specifies the argument that is to be passed to the specified procedure when it is called.
Specifies the procedure that is to be called.
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(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface

libXt 1.2.1 X Version 11