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

NAME

6       XtAppErrorMsg, XtAppSetErrorMsgHandler, XtAppSetWarningMsgHandler,
7       XtAppWarningMsg - high-level error handlers
8

SYNTAX

10       #include <X11/Intrinsic.h>
11
12       void XtAppErrorMsg(XtAppContext app_context, const char *name, const
13              char *type, const char *class, const char *defaultMsg, String
14              *params, Cardinal *num_params);
15
16       XtErrorMsgHandler XtAppSetErrorMsgHandler(XtAppContext app_context,
17              XtErrorMsgHandler msg_handler);
18
19       XtErrorMsgHandler XtAppSetWarningMsgHandler(XtAppContext app_context,
20              XtErrorMsgHandler msg_handler);
21
22       void XtAppWarningMsg(XtAppContext app_context, const char *name, const
23              char *type, const char *class, const char *defaultMsg, String
24              *params, Cardinal *num_params);
25

ARGUMENTS

27       app_context
28                 Specifies the application context.
29
30       class     Specifies the resource class of the error message.
31
32       defaultMsg
33                 Specifies the default message to use.
34
35       name      Specifies the general kind of error.
36
37       type      Specifies the detailed name of the error.
38
39       msg_handler
40                 Specifies the new fatal error procedure, which should not re‐
41                 turn or the nonfatal error procedure, which usually returns.
42
43       num_params
44                 Specifies the number of values in the parameter list.
45
46       params    Specifies a pointer to a list of values to be stored in the
47                 message.
48

DESCRIPTION

50       The XtAppErrorMsg function calls the high-level error handler and
51       passes the specified information.
52
53       The XtAppSetErrorMsgHandler function registers the specified  proce‐
54       dure, which is called when a fatal error occurs.
55
56       The XtAppSetWarningMsgHandler function registers the specified proce‐
57       dure, which is called when a nonfatal error condition occurs.
58
59       The XtAppWarningMsg function calls the high-level error handler and
60       passes the specified information.
61

SEE ALSO

63       XtAppGetErrorDatabase(3), XtAppError(3)
64       X Toolkit Intrinsics - C Language Interface
65       Xlib - C Language X Interface
66
67
68
69X Version 11                      libXt 1.2.1                 XtAppErrorMsg(3)
Impressum