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

FreeBSD Manual Pages

  
 
  

home | help
XmtDisplayError(3)	   Library Functions Manual	    XmtDisplayError(3)

NAME
       XmtDisplayError(),  XmtDisplayWarning(),	XmtDisplayInformation()	- dis-
       play a simple message in	a dialog box.

SYNOPSIS
       #include	<Xmt/Dialogs.h>

       void XmtDisplayError(Widget w, String msg_name, String msg_default)

       void XmtDisplayWarning(Widget w,	String msg_name, String	msg_default)

       void XmtDisplayInformation(Widget w, String msg_name, String msg_de-
		      fault, String title_default)

ARGUMENTS
       INPUTS

	    w	   Any	widget;	 the message dialog will be popped up over the
		   shell of this widget.

	    msg_name
		   The name of this message, or	NULL; used  to	look  up  cus-
		   tomization resources	for the	message.

	    msg_default
		   The	text of	the message, unless overridden by a value from
		   the resource	database.

	    title_default
		   For XmtDisplayInformation() only, the text to appear	in the
		   title  bar  (if  any) of the	dialog,	unless overridden by a
		   value from the resource database. If	you specify NULL, then
		   the	default	title Help will	be used, unless	it is overrid-
		   den.

DESCRIPTION
       XmtDisplayError(),  XmtDisplayWarning(),	 and   XmtDisplayInformation()
       display	a simple message in a XmMessageBox dialog displaying the stan-
       dard Motif ``error'', ``warning'', or ``information'' icons.  Once  you
       have called these functions, you	need take no further action-the	dialog
       boxes will be managed automatically by Xmt.

       The msg_default argument	specifies the default message to be displayed,
       but  if	you have specified a msg_name argument,	then this default mes-
       sage may	be overridden  through	the  resource  database.  See  XmtDis-
       playMessage()  and Chapter 27, Message Dialogs, for more	information on
       message customization.

       XmtDisplayError() and XmtDisplayWarning() display modal	dialog	boxes.
       XmtDisplayInformation()	displays  a modeless dialog box. Because there
       may be multiple modeless	dialogs	popped up at once,  XmtDisplayInforma-
       tion()  allows you to specify a an optional title_default for each mes-
       sage dialog, to help the	user distinguish them from one another.

SEE ALSO
       Chapter 25, Message Dialogs,
       XmtDisplayErrorMsg(), XmtDisplayErrorMsgAndWait(),
       XmtDisplayInformationMsg(), XmtDisplayMessage(),
       XmtDisplayMessageAndWait(), XmtDisplayMessageVaList(),
       XmtDisplayWarningAndAsk(), XmtDisplayWarningMsg(),
       XmtDisplayWarningMsgAndWait().

Xmt				  Motif	Tools		    XmtDisplayError(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XmtDisplayError&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help