XtAppSetErrorHandler(3x)

XtAppSetErrorHandler3x

Low-level error handlers

Part of XtAppError(3x).

Usage

void XtAppError(XtAppContext app_context, String message);

void XtAppSetErrorHandler(XtAppContext app_context, XtErrorHandler handler);

void XtAppSetWarningHandler(XtAppContext app_context, XtErrorHandler 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.

Overview

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 procedure, which is called when a nonfatal error condition occurs.

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

Releases

8 releases since Debian 1.1 (Buzz); the text changed 4 times.

  1. 1.1
  2. 1.2
  3. 1.3–2.2
  4. 3.0
  5. 3.1

From libxt-dev 4.3.0.dfsg.1-14sarge7 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.