1XtAppError(3)                    XT FUNCTIONS                    XtAppError(3)
2
3
4

NAME

6       XtAppError, XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning
7       - low-level error handlers
8

SYNTAX

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

ARGUMENTS

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
29                 return, or the nonfatal error procedure, which usually
30                 returns.
31
32       message   Specifies the message that is to be reported.
33

DESCRIPTION

35       The XtAppError function calls the installed error procedure and passes
36       the specified message.
37
38       The XtAppSetErrorHandler function registers the specified procedure,
39       which is called when a fatal error condition occurs.
40
41       The XtAppSetWarningHandler registers the specified procedure, which is
42       called when a nonfatal error condition occurs.
43
44       The XtAppWarning function calls the installed nonfatal error procedure
45       and passes the specified message.
46

SEE ALSO

48       XtAppGetErrorDatabase(3), XtAppErrorMsg(3)
49       X Toolkit Intrinsics - C Language Interface
50       Xlib - C Language X Interface
51
52
53
54X Version 11                      libXt 1.2.0                    XtAppError(3)
Impressum