1XtAppError(3) XT FUNCTIONS XtAppError(3)
2
3
4
6 XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning
7 - low-level error handlers
8
10 #include <X11/Intrinsic.h>
11
12 void XtAppError(XtAppContext app_context, const char *message);
13
14 XtErrorHandler XtAppSetErrorHandler(XtAppContext app_context, XtEr‐
15 rorHandler handler);
16
17 XtErrorHandler XtAppSetWarningHandler(XtAppContext app_context, XtEr‐
18 rorHandler handler);
19
20 void XtAppWarning(XtAppContext app_context, const char *message);
21
23 app_context
24 Specifies the application context.
25
26 message Specifies the nonfatal error message that is to be reported.
27
28 handler Specifies the new fatal error procedure, which should not re‐
29 turn, or the nonfatal error procedure, which usually returns.
30
31 message Specifies the message that is to be reported.
32
34 The XtAppError function calls the installed error procedure and passes
35 the specified message.
36
37 The XtAppSetErrorHandler function registers the specified procedure,
38 which is called when a fatal error condition occurs.
39
40 The XtAppSetWarningHandler registers the specified procedure, which is
41 called when a nonfatal error condition occurs.
42
43 The XtAppWarning function calls the installed nonfatal error procedure
44 and passes the specified message.
45
47 XtAppGetErrorDatabase(3), XtAppErrorMsg(3)
48 X Toolkit Intrinsics - C Language Interface
49 Xlib - C Language X Interface
50
51
52
53X Version 11 libXt 1.2.1 XtAppError(3)