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
XmCreateTemplateDialog(library call) XmCreateTemplateDialog(library call)
NAME
XmCreateTemplateDialog -- A MessageBox TemplateDialog convenience creation function
SYNOPSIS
#include <Xm/MessageB.h>
Widget XmCreateTemplateDialog(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
DESCRIPTION
XmCreateTemplateDialog is a convenience creation function that creates a DialogShell and an unmanaged MessageBox child of the DialogShell.
The MessageBox widget's XmNdialogType resource is set to XmDIALOG_TEMPLATE. By default, the TemplateDialog widget contains only the separa-
tor child. You can build a customized dialog by adding children to the TemplateDialog.
You can create the standard MessageBox pushbuttons, Cancel, Help, and OK, by specifying the associated callback and label string resources.
Setting XmNsymbolPixmap or XmNmessageString creates a symbol or message label.
Use XtManageChild to pop up the TemplateDialog (passing the MessageBox as the widget parameter); use XtUnmanageChild to pop it down.
XmCreateTemplateDialog forces the value of the Shell resource XmNallowShellResize to True.
parent Specifies the parent widget ID
name Specifies the name of the created widget
arglist Specifies the argument list
argcount Specifies the number of attribute/value pairs in the argument list (arglist)
For a complete definition of MessageBox and its associated resources, see XmMessageBox(3).
RETURN
Returns the MessageBox widget ID.
RELATED XmMessageBox(3).
XmCreateTemplateDialog(library call)
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)