XtSetErrorMsgHandler() XtSetErrorMsgHandler()
Name
XtSetErrorMsgHandler - set the high-level error handler procedure.
Synopsis
void XtSetErrorMsgHandler(msg_handler)
XtErrorMsgHandler msg_handler;
Inputs
msg_handler Specifies the new high-level fatal error procedure, which should not return.
Availability
XtSetErrorMsgHandler() has been superseded by XtAppSetErrorMsgHandler().
Description
XtSetErrorMsgHandler() registers the procedure msg_handler as the procedure to be invoked by XtErrorMsg().
Usage
XtSetErrorMsgHandler() has been superseded by XtAppSetErrorMsgHandler(), which performs the same function on a per-application context
basis. XtSetErrorMsgHandler() now calls XtAppSetErrorMsgHandler() passing the default application context created by XtInitialize(). Very
few programs need multiple application contexts, and you can continue to use XtSetErrorMsgHandler() if you initialize your application with
XtInitialize(). We recommend, however, that you use XtAppInitialize(), XtAppSetErrorMsgHandler(), and the other XtApp*() application con-
text specific functions.
See XtAppSetErrorMsgHandler() for more information.
See Also
XtAppSetErrorHandler(1), XtAppSetErrorMsgHandler(1), XtAppSetWarningMsgHandler(1),
XtErrorMsgHandler(2).
Xt - Error Handling XtSetErrorMsgHandler()