Name
XtAppSetWarningHandler — register a procedure to be called on nonfatal error conditions.
Synopsis
XtErrorHandler XtAppSetWarningHandler(app_context, handler)
XtAppContext app_context;
XtErrorHandler handler;
Arguments
app_context
Specifies the application context.
handlerSpecifies the new nonfatal error procedure, which usually returns.
Description
XtAppSetWarningHandler returns a pointer to the previously installed low-level warning handler. The default low-level warning handler provided by the Intrinsics is _XtDefaultWarning. On POSIX-based systems, it prints the message to standard error and returns to the caller. Using XtAppSetWarningHandler, you can replace this default handler with one of your own.
Note that application-context-specific error handling is not implemented on many systems. Most implementations will have just one set of error handlers. If they are set for different application contexts, the one performed last will prevail.
See Also
XtAppError(1), XtAppErrorMsg(1), XtAppSetErrorHandler(1), XtAppSetErrorMsgHandler(1), XtAppSetWarningHandler(1), XtAppSetWarningMsgHandler(1), XtAppWarning(1), XtAppWarningMsg(1),
XtErrorHandler(2).