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
41                 return or the nonfatal error procedure, which usually
42                 returns.
43
44       num_params
45                 Specifies the number of values in the parameter list.
46
47       params    Specifies a pointer to a list of values to be stored in the
48                 message.
49

DESCRIPTION

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

SEE ALSO

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