Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppSetErrorHandler(1)

XtAppSetErrorMsgHandler(1)

XtAppSetWarningMsgHandler(1)

XtErrorMsgHandler(2)

NAME

XtSetErrorMsgHandler − set the high-level error handler procedure. 

Synopsis

void XtSetErrorMsgHandler(msg_handler)

    XtErrorMsgHandler msg_handler;

Inputs

msg_handlerSpecifies 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 context specific functions.  See XtAppSetErrorMsgHandler() for more information. 

See Also

XtAppSetErrorHandler(1), XtAppSetErrorMsgHandler(1), XtAppSetWarningMsgHandler(1),
XtErrorMsgHandler(2). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026