XmMessageBoxGetChild(library call) XmMessageBoxGetChild(library call)
NAME
XmMessageBoxGetChild -- A MessageBox function that is used to access a component
SYNOPSIS
#include <Xm/MessageB.h>
Widget XmMessageBoxGetChild(
Widget widget,
unsigned char child);
DESCRIPTION
XmMessageBoxGetChild is used to access a component within a MessageBox. The parameters given to the function are the MessageBox widget and
a value indicating which component to access.
NOTE: This routine is obsolete and exists for compatibility with previous releases. Instead of calling XmMessageBoxGetChild, you should
call XtNameToWidget as described in the XmMessageBox(3) reference page.
widget Specifies the MessageBox widget ID.
child Specifies a component within the MessageBox. The following are legal values for this parameter:
o XmDIALOG_CANCEL_BUTTON
o XmDIALOG_DEFAULT_BUTTON
o XmDIALOG_HELP_BUTTON
o XmDIALOG_MESSAGE_LABEL
o XmDIALOG_OK_BUTTON
o XmDIALOG_SEPARATOR
o XmDIALOG_SYMBOL_LABEL
For a complete definition of MessageBox and its associated resources, see XmMessageBox(3).
RETURN
Returns the widget ID of the specified MessageBox component. An application should not assume that the returned widget will be of any par-
ticular class.
RELATED XmMessageBox(3).
XmMessageBoxGetChild(library call)
Check Out this Related Man Page
XmCreateMessageBox(3X)XmCreateMessageBox(3X)NAME
XmCreateMessageBox - The MessageBox widget creation function
SYNOPSIS
#include <Xm/MessageB.h>
Widget XmCreateMessageBox (parent, name, arglist, argcount)
Widget parent;
String name;
ArgList arglist;
Cardinal argcount;
DESCRIPTION
XmCreateMessageBox creates an unmanaged MessageBox. A MessageBox is used for common interaction tasks, which include giving information,
asking questions, and reporting errors. It includes an optional symbol, a message, and three buttons.
By default, there is no symbol. The default button labels are OK, Cancel, and Help.
If the parent of the MessageBox is a DialogShell, use XtManageChild to pop up the MessageBox (passing the MessageBox as the widget parame-
ter); use XtUnmanageChild to pop it down. Specifies the parent widget ID Specifies the name of the created widget Specifies the argument
list Specifies the number of attribute/value pairs in the argument list (arglist)
For a complete definition of MessageBox and its associated resources, see XmMessageBox(3X).
RETURN VALUE
Returns the MessageBox widget ID.
SEE ALSO XmMessageBox(3X)XmCreateMessageBox(3X)
Hi,
i remember that when programming for Windows i used the MessageBox function,which blocked my application until the user made his/her choice.
So,that function returned only after this choice.
Now i'm using the QuestionDialog widget in motif,and i would like to have that behaviour:is there... (1 Reply)