GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtDisplayError(3) FreeBSD Library Functions Manual XmtDisplayError(3)

XmtDisplayError(), XmtDisplayWarning(), XmtDisplayInformation() - display a simple message in a dialog box.

#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)

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 customization 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 overridden.

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 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.

Chapter 25, Message Dialogs,
XmtDisplayErrorMsg(), XmtDisplayErrorMsgAndWait(), XmtDisplayInformationMsg(), XmtDisplayMessage(), XmtDisplayMessageAndWait(), XmtDisplayMessageVaList(), XmtDisplayWarningAndAsk(), XmtDisplayWarningMsg(), XmtDisplayWarningMsgAndWait().
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.