FreeBSD Manual Pages
XmtDisplayError(3) Library Functions Manual XmtDisplayError(3) NAME XmtDisplayError(), XmtDisplayWarning(), XmtDisplayInformation() - display 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_default, 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 customiza- tion 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 ti- tle bar (if any) of the dialog, unless overridden by a value from the resource database. If you specify NULL, then the de- fault title Help will be used, unless it is overridden. DESCRIPTION XmtDisplayError(), XmtDisplayWarning(), and XmtDisplayInformation() display a simple message in a XmMessageBox dialog displaying the standard 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 message may be overridden through the resource database. See XmtDisplayMessage() and Chap- ter 27, Message Dialogs, for more information on message customization. XmtDisplayError() and XmtDisplayWarning() display modal dialog boxes. Xmt- DisplayInformation() displays a modeless dialog box. Because there may be multiple modeless dialogs popped up at once, XmtDisplayInformation() allows you to specify a an optional title_default for each message 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://man.freebsd.org/cgi/man.cgi?query=XmtDisplayError&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>
