|
NAMEXmtDisplayError(), 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) ARGUMENTSINPUTS
DESCRIPTIONXmtDisplayError(), 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 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, XmtDisplayInformation() allows you to specify a an optional title_default for each message dialog, to help the user distinguish them from one another. SEE ALSOChapter 25, Message Dialogs,XmtDisplayErrorMsg(), XmtDisplayErrorMsgAndWait(), XmtDisplayInformationMsg(), XmtDisplayMessage(), XmtDisplayMessageAndWait(), XmtDisplayMessageVaList(), XmtDisplayWarningAndAsk(), XmtDisplayWarningMsg(), XmtDisplayWarningMsgAndWait().
Visit the GSP FreeBSD Man Page Interface. |