Query: xtsetwarnia
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XtSetWarningHandler() XtSetWarningHandler() Name XtSetWarningHandler - set the low-level warning handler procedure. Synopsis void XtSetWarningHandler(handler) XtErrorHandler handler; Inputs handler Specifies 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 pro- grams need multiple application contexts, and you can continue to use XtSetWarningHandler() if you initialize your application with XtIni- tialize(). We recommend, however, that you use XtAppInitialize(), XtAppSetWarningHandler(), and the other XtApp*() application context specific functions. See XtAppSetWarningHandler() for more information. See Also XtAppSetErrorHandler(1), XtAppSetErrorMsgHandler(1), XtAppSetWarningMsgHandler(1), XtAppWarning(1), XtErrorHandler(2), XtErrorMsgHandler(2). Xt - Error Handling XtSetWarningHandler()