MirBSD manpage: XtAppError(3), XtAppSetErrorHandler(3), XtAppSetWarningHandler(3), XtAppWarning(3)


XtAppError(3Xt)           XT FUNCTIONS            XtAppError(3Xt)

NAME

     XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler,
     XtAppWarning - low-level error handlers

SYNTAX

     void XtAppError(XtAppContext app_context, String message);

     void XtAppSetErrorHandler(XtAppContext app_context, XtEr-
          rorHandler handler);

     void XtAppSetWarningHandler(XtAppContext app_context, XtEr-
          rorHandler handler);

     void XtAppWarning(XtAppContext app_context, String message);

ARGUMENTS

     app_context
               Specifies the application context.

     message   Specifies the nonfatal error message that is to be
               reported. or the nonfatal error procedure, which
               usually returns

     handler   Specifies the new fatal error procedure, which
               should not return,.

     message   Specifies the message that is to be reported.

DESCRIPTION

     The XtAppError function calls the installed error procedure
     and passes the specified message.

     The XtAppSetErrorHandler function registers the specified
     procedure, which is called when a fatal error condition
     occurs.

     The XtAppSetWarningHandler registers the specified pro-
     cedure, which is called when a nonfatal error condition
     occurs.

     The XtAppWarning function calls the installed nonfatal error
     procedure and passes the specified message.

SEE ALSO

     XtAppGetErrorDatabase(3Xt), XtAppErrorMsg(3Xt)
     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

XFree86                   Version 4.5.0                         1

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.