TmMessageBox

Section: C Library Functions (3)
Updated: 24 July 1993
Index Return to Main Contents
 

NAME

TmMessageBox - the MessageBox widget class  

SYNOPSIS

xmMessageBox  pathName [options]
xmErrorDialog  pathName [options]
xmInformationDialog  pathName [options]
xmMessageDialog  pathName [options]
xmQuestionDialog  pathName [options]
xmWarningDialog  pathName [options]
xmWorkingDialog  pathName [options]

 

DESCRIPTION

This is the tcl binding to the Motif MessageBox widget and the MessageBox Dialog convenience functions.

 

CLASSES

The class name for resource files is XmMessageBox. Resources are inherited from TmPrimitive, TmCore. Methods are inherited from TmCore.

 

RESOURCES

New resources for this class are:
cancelLabelString
defaultButtonType
dialogType
helpLabelString
messageAlignment
messageString
minimizeButtons
okLabelString
symbolPixmap

dialogType
The values for this resource are
dialog_error
dialog_information
dialog_message
dialog_question
dialog_template
dialog_warning
dialog_working

 

CHILDREN

MessageBox has a number of children, which may or may not exist, depending on the type of message box. They have names
Cancel
Help
Message
OK
Separator
Symbol
Note that this makes the MessageBoxGetChild function redundant.

Each child has methods appropriate to its type. Note that OSF warn against assuming a particular type for any child widget, so you should check the class before using a widget-specific method.

 

METHODS

New methods for this class are
cancelCallback
okCallback

 

CALLBACK SUBSTITUTIONS

The substitutions supported for this class are
%reason  - the additional values are
cancel
ok

 

BUGS

None known as yet.  

AUTHOR

Jan Newmarch, University of Canberra


 

Index

NAME
SYNOPSIS
DESCRIPTION
CLASSES
RESOURCES
CHILDREN
METHODS
CALLBACK SUBSTITUTIONS
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 04:19:05 GMT, December 02, 2024