NAME
XtSetWarningHandler − set the low-level warning handler procedure.
SYNOPSIS
void XtSetWarningHandler(handler)
XtErrorHandler handler;
Inputs
handlerSpecifies the new low-level warning procedure.
AVAILABILITY
XtSetWarningHandler() has been superseded by XtAppSetWarningHandler().
DESCRIPTION
XtSetWarningHandler() registers the procedure handler as the procedure to be invoked by XtWarning(). It should display the string it is passed and return.
USAGE
XtSetWarningHandler() has been superseded by XtAppSetWarningHandler(), which performs the same function on a per-application context basis. XtSetWarningHandler() now calls XtAppSetWarningHandler() passing the default application context created by XtInitialize(). Very few programs need multiple application contexts, and you can continue to use XtSetWarningHandler() if you initialize your application with XtInitialize(). We recommend, however, that you use XtAppInitialize(), XtAppSetWarningHandler(), and the other XtApp∗() application context specific functions.
See XtAppSetWarningHandler() for more information.
SEE ALSO
XtAppSetErrorHandlerUNIX SYSTEM V/68, XtAppSetErrorMsgHandlerUNIX SYSTEM V/68, XtAppSetWarningMsgHandlerUNIX SYSTEM V/68, XtAppWarningUNIX SYSTEM V/68,
XtErrorHandlerUNIX SYSTEM V/88, XtErrorMsgHandlerUNIX SYSTEM V/88.