Visual Parts Reference : Parts Reference : Message Prompter : Message Prompter attributes
Message Prompter attributes
buttonType (Integer)
The buttonType attribute specifies which buttons are to be displayed in the prompter. Possible values include the following:
XmOK
Displays the OK button only.
XmOKCANCEL
Displays the OK and CANCEL buttons. This is the default.
XmRETRYCANCEL
Displays the RETRY and CANCEL buttons.
XmABORTRETRYIGNORE
Displays the ABORT, RETRY, and IGNORE buttons.
XmYESNO
Displays the YES and NO buttons.
XmYESNOCANCEL
Displays the YES, NO, and CANCEL buttons.
The value returned is determined by the button pressed by the user:
o If the user pressed OK, YES, or RETRY, true is returned.
o If the user pressed NO or ABORT, false is returned.
o If the user pressed CANCEL or IGNORE, nil is returned.
defaultButtonType (Integer)
The defaultButtonType attribute specifies which push button is the default push button in the prompter. The following are valid types of default push buttons:
o XmDIALOGCANCELBUTTON
o XmDIALOGOKBUTTON
o XmDIALOGHELPBUTTON
iconType (Integer)
The iconType attribute specifies the type of icon you want displayed in the prompter. Valid values include the following:
o XmNOICON
o XmICONINFO (default)
o XmICONWARNING
o XmICONERROR
o XmICONQUESTION
messageString (String)
The messageString attribute specifies the string of characters you want to use as the text of your message.
prompterStyle (String)
The prompterStyle attribute specifies the type of dialog you want the prompter to display. Valid values include:
XmPRIMARYAPPLICATIONMODAL
The user must respond to the prompter before interacting with the parent window. The user can still interact with other windows.
XmFULLAPPLICATIONMODAL
The user must respond to the prompter before interacting with any window in the application. The user can still interact with other windows.
XmSYSTEMMODAL
The user cannot interact with the windows of any application until responding to the prompter.
self (<className>)
For more information on the self attribute, refer to Using the self attribute.
title (String)
The title attribute specifies the label displayed for the part. For example, the text for a window displays in the title bar, the text for a scale appears next to the scale, the text for an HTML page appears in the title bar of the Web browser, and the text for a report title appears in the report header.
Last modified date: 01/29/2015