Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ AppWarning(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XtAppWarning − call the low-level warning handler. 

SYNOPSIS

void XtAppWarning(app_context, message)
    XtAppContext app_context;
    String message;

Inputs

app_context
Specifies the application context.

messageSpecifies the warning message that is to be reported. 

DESCRIPTION

XtAppWarning() passes its arguments to the installed low-level warning handler.  On POSIX systems, the default handler is _XtDefaultWarning().  It prints the message to the stderr stream and returns. 

USAGE

To report fatal error messages and exit, use XtAppError() or XtAppErrorMsg().  To change the low-level warning handler, use XtAppSetWarningHandler(). 

XtAppWarning() calls the "low-level" warning handler.  It is better to use XtAppWarningMsg() which calls the "high-level" warning handler.  The high-level handler looks up the warning message in a resource database and so allows for customization and internationalization of warning messages. 

Although the Intrinsics interface allows separate error and warning handlers for each application context, most implementations will support only a single set of handlers.  When a new handler is installed, it will be used in all application contexts. 

SEE ALSO

XtAppErrorUNIX SYSTEM V/68, XtAppErrorMsgUNIX SYSTEM V/68, XtAppSetErrorHandlerUNIX SYSTEM V/68, XtAppSetErrorMsgHandlerUNIX SYSTEM V/68, XtAppSetWarningHandlerUNIX SYSTEM V/68, XtAppSetWarningMsgHandlerUNIX SYSTEM V/68, XtAppWarningMsgUNIX SYSTEM V/68,
XtErrorHandlerUNIX SYSTEM V/88, XtErrorMsgHandlerUNIX SYSTEM V/88. 

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