Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XtAppError(3)			 XT FUNCTIONS			 XtAppError(3)

NAME
       XtAppError,  XtAppSetErrorHandler, XtAppSetWarningHandler, XtAppWarning
       - low-level error handlers

SYNTAX
       #include	<X11/Intrinsic.h>

       _X_NORETURN void	XtAppError(XtAppContext	app_context, const char	 *mes-
	      sage);

       XtErrorHandler  XtAppSetErrorHandler(XtAppContext app_context, _X_NORE-
	      TURN XtErrorHandler handler);

       XtErrorHandler XtAppSetWarningHandler(XtAppContext  app_context,	 XtEr-
	      rorHandler handler);

       void XtAppWarning(XtAppContext app_context, const char *message);

ARGUMENTS
       app_context
		 Specifies the application context.

       message	 Specifies the nonfatal	error message that is to be reported.

       handler	 Specifies the new fatal error procedure, which	should not re-
		 turn, or the nonfatal error procedure,	which usually returns.

       message	 Specifies the message that is to be reported.

DESCRIPTION
       The  XtAppError function	calls the installed error procedure and	passes
       the specified message.

       The XtAppSetErrorHandler	function registers  the	 specified  procedure,
       which is	called when a fatal error condition occurs.

       The  XtAppSetWarningHandler registers the specified procedure, which is
       called when a nonfatal error condition occurs.

       The XtAppWarning	function calls the installed nonfatal error  procedure
       and passes the specified	message.

SEE ALSO
       XtAppGetErrorDatabase(3), XtAppErrorMsg(3)
       X Toolkit Intrinsics - C	Language Interface
       Xlib - C	Language X Interface

X Version 11			  libXt	1.3.0			 XtAppError(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XtAppSetErrorHandler&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help