xref: /386bsd/usr/X386/man/man3/XtAppErrorMsg.3x (revision a2142627)
.\\$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"
NAME
XtAppErrorMsg, XtAppSetErrorMsgHandler, XtAppSetWarningMsgHandler, XtAppWarningMsg - high-level error handlers
SYNTAX
void 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;

ARGUMENTS
app_context 1i
Specifies the application context.
class 1i
Specifies the resource class\*(Cl.
default 1i
Specifies the default message to use\*(Dm.
name 1i
Specifies the general kind of error.
type 1i
Specifies the detailed name of the error. or the nonfatal error procedure, which usually returns
msg_handler 1i
Specifies the new \*(Mh.
num_params 1i
Specifies the number of values in the parameter list.
params 1i
Specifies a pointer to a list of values to be stored in the message.
DESCRIPTION
The .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