XtAppSetWarningHandler (3)
Leading comments
Copyright 1993 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and thi...
NAME
XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning - low-level error handlersSYNTAX
- 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.
- handler
- Specifies the new fatal error procedure, which should not return, or the nonfatal error procedure, which usually returns.
- 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 procedure, 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(3), XtAppErrorMsg(3)X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface