.\\$1D \\$2 \\$1 .if \\n(VS>=40 .vs \\n(VSu..
.if \\n(VS<=39 .vs \\n(VSp
..0 .nr BD 0
.KS .TA .5i 3i
...KE
.. .. .KS
.D
choose appropriate monospace font
the imagen conditional, 480,
may be changed to L if LB is too
heavy for your eyes...
.. .R .. .. .. .TB\\*(NO .R .. . \" Note End -- doug kraft 3/85
0 .. .ny0
XtAppErrorMsg 3Xt "Release 3" "X Version 11" "XT FUNCTIONS"NAMEXtAppErrorMsg, XtAppSetErrorMsgHandler, XtAppSetWarningMsgHandler, XtAppWarningMsg - high-level error handlersSYNTAXvoid XtAppErrorMsg(app_context, name, type, class, \ default, params, num_params)XtAppContext app_context;
String name;
String type;
String class;
String default;
String *params;
Cardinal *num_params;
void XtAppSetErrorMsgHandler(app_context, msg_handler)
XtAppContext app_context;
XtErrorMsgHandler msg_handler;
void XtAppSetWarningMsgHandler(app_context, msg_handler)
XtAppContext app_context;
XtErrorMsgHandler msg_handler;
void XtAppWarningMsg(app_context, name, type, class, default, params, num_params)
XtAppContext app_context;
String name;
String type;
String class;
String default;
String *params;
Cardinal *num_params;
ARGUMENTSapp_context 1iSpecifies the application context.class 1iSpecifies the resource class\*(Cl.default 1iSpecifies the default message to use\*(Dm.name 1iSpecifies the general kind of error.type 1iSpecifies the detailed name of the error. or the nonfatal error procedure, which usually returnsmsg_handler 1iSpecifies the new \*(Mh.num_params 1iSpecifies the number of values in the parameter list.params 1iSpecifies a pointer to a list of values to be stored in the message.DESCRIPTIONThe .ZN XtAppErrorMsg function calls the high-level error handler and passes the specified information.The .ZN XtAppSetErrorMsgHandler function registers the specified procedure, which is called when a fatal error occurs.
The .ZN XtAppSetWarningMsgHandler function registers the specified procedure, which is called when a nonfatal error condition occurs.
The .ZN XtAppWarningMsg function calls the high-level error handler and passes the specified information.
"SEE ALSO"XtAppGetErrorDatabase(3Xt), XtAppError(3Xt)\*(xT
\*(xL