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