|
NAMEXmtDisplayErrorMsg(), XmtDisplayWarningMsg(), XmtDisplayInformationMsg() - display a formatted message in a dialog box.SYNOPSIS#include <Xmt/Dialogs.h>
void XmtDisplayErrorMsg(Widget w, String msg_name, String msg_default, String title_default, String help_default, ...) void XmtDisplayWarningMsg(Widget w, String msg_name, String msg_default, String title_default, String help_default, ...) void XmtDisplayInformationMsg(Widget w, String msg_name, String msg_default, String title_default, String help_default, ...) ARGUMENTSINPUTS
DESCRIPTIONXmtDisplayErrorMsg(), XmtDisplayWarningMsg(), and XmtDisplayInformationMsg() perform a printf()-style variable substitution into the specified msg_default (or into an overriding message from the resource database) and display the resulting string in a simple dialog box over the shell widget that contains the specified widget w.The dialog is an XmMessageBox dialog displaying the standard Motif ``error'', ``warning'' or ``information'' icons. It is automatically created, cached, popped up, and popped down by Xmt. For XmtDisplayErrorMsg() and XmtDisplayWarningMsg(), the dialog is modal, and for XmtDisplayInformationMsg(), it is modeless. The title bar of the dialog box (if the window manager displays one) will contain the title_default string, or an overriding value from the resource database. If help_default is non-NULL, or if there is help specified in the resource database, then the dialog will display a Help button. If the user clicks on this button, the help string will be appended to the original message in the dialog. See XmtDisplayMessage() and Chapter 25, Message Dialogs, for more information on customizing message dialogs with resources. SEE ALSOChapter 25, Message Dialogs,XmtDisplayError(), XmtDisplayErrorAndAsk(), XmtDisplayErrorMsgAndWait(), XmtDisplayInformation(), XmtDisplayMessage(), XmtDisplayMessageAndWait(), XmtDisplayMessageVaList(), XmtDisplayWarning(), XmtDisplayWarningMsgAndWait().
Visit the GSP FreeBSD Man Page Interface. |