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

NAME

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

SYNTAX

10       void XtAppErrorMsg(XtAppContext app_context, String name, String type,
11              String class, String default, String *params, Cardinal
12              *num_params);
13
14       void XtAppSetErrorMsgHandler(XtAppContext app_context, XtErrorMsgHan‐
15              dler msg_handler);
16
17       void XtAppSetWarningMsgHandler(XtAppContext app_context, XtErrorMsgHan‐
18              dler msg_handler);
19
20       void XtAppWarningMsg(XtAppContext app_context, String name, String
21              type, String class, String default, String *params, Cardinal
22              *num_params);
23

ARGUMENTS

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

DESCRIPTION

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

SEE ALSO

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