[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Reference


XmMessageBoxGetChild

A MessageBox function that is used to access a component

Format

#include <Xm/MessageB.h>
Widget XmMessageBoxGetChild
Widget
widgetunsigned 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:

  1. XmDIALOG_CANCEL_BUTTON

  2. XmDIALOG_DEFAULT_BUTTON

  3. XmDIALOG_HELP_BUTTON

  4. XmDIALOG_MESSAGE_LABEL

  5. XmDIALOG_OK_BUTTON

  6. XmDIALOG_SEPARATOR

  7. XmDIALOG_SYMBOL_LABEL
  8. 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 particular class.

    RELATED

    XmMessageBox (3).


    [ Previous | Next | Contents | Glossary | Home | Search ]