Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtappaddworkproc(3xt) [ultrix man page]

XtAppAddWorkProc(3Xt)						     MIT X11R4						     XtAppAddWorkProc(3Xt)

Name
       XtAppAddWorkProc, XtRemoveWorkProc - 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.

       id	 Specifies which work procedure to remove.

Description
       The function adds the specified work procedure for the application identified by app_context.

       The function explicitly removes the specified background work procedure.

See Also
       XtAppNextEvent(3Xt)
       X Window System Toolkit: The Complete Programmer's Guide and Specification, Paul J. Asente and Ralph Swick
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															     XtAppAddWorkProc(3Xt)

Check Out this Related Man Page

XtAppError(3Xt) 						     MIT X11R4							   XtAppError(3Xt)

Name
       XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning - low-level error handlers

Syntax
       void XtAppError(app_context, message)
	  XtAppContext app_context;
	  String message;

       void XtAppSetErrorHandler(app_context, handler)
	  XtAppContext app_context;
	  XtErrorHandler handler;

       void XtAppSetWarningHandler(app_context, handler)
	  XtAppContext app_context;
	  XtErrorHandler handler;

       void XtAppWarning(app_context, message)
	  XtAppContext app_context;
	  String message;

Arguments
       app_context
		 Specifies the application context.

       message	 Specifies the nonfatal error message that is to be reported.

       handler	 Specifies the new fatal error procedure, which should not return, or the nonfatal error procedure, which usually returns.

       message	 Specifies the message that is to be reported.

Description
       The function calls the installed error procedure and passes the specified message.

       The function registers the specified procedure, which is called when a fatal error condition occurs.

       The registers the specified procedure, which is called when a nonfatal error condition occurs.

       The function calls the installed nonfatal error procedure and passes the specified message.

See Also
       XtAppGetErrorDatabase(3Xt), XtAppErrorMsg(3Xt)
       X Window System Toolkit: The Complete Programmer's Guide and Specification, Paul J. Asente and Ralph Swick
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

																   XtAppError(3Xt)
Man Page