1XtAppErrorMsg(3) XT FUNCTIONS XtAppErrorMsg(3)
2
3
4
6 XtAppErrorMsg, XtAppSetErrorMsgHandler, XtAppSetWarningMsgHandler,
7 XtAppWarningMsg - high-level error handlers
8
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
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 msg_handler
37 Specifies the new fatal error procedure, which should not
38 return or the nonfatal error procedure, which usually
39 returns.
40
41 num_params
42 Specifies the number of values in the parameter list.
43
44 params Specifies a pointer to a list of values to be stored in the
45 message.
46
48 The XtAppErrorMsg function calls the high-level error handler and
49 passes the specified information.
50
51 The XtAppSetErrorMsgHandler function registers the specified proce‐
52 dure, which is called when a fatal error occurs.
53
54 The XtAppSetWarningMsgHandler function registers the specified proce‐
55 dure, which is called when a nonfatal error condition occurs.
56
57 The XtAppWarningMsg function calls the high-level error handler and
58 passes the specified information.
59
61 XtAppGetErrorDatabase(3), XtAppError(3)
62 X Toolkit Intrinsics - C Language Interface
63 Xlib - C Language X Interface
64
65
66
67X Version 11 libXt 1.1.5 XtAppErrorMsg(3)