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
XtAppError(1), XtAppErrorMsg(1), XtAppSetErrorHandler(1), XtAppSetErrorMsgHandler(1), XtAppSetWarningHandler(1), XtAppSetWarningMsgHandler(1), XtAppWarningMsg(1),
XtErrorHandler(2), XtErrorMsgHandler(2).
Copyright O’Reilly & Assoc. — X Toolkit Intrinsics Reference Manual © O’Reilly & Associates