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


XmSelectionBoxGetChild

A SelectionBox function that is used to access a component

Format

#include <Xm/SelectioB.h>
Widget XmSelectionBoxGetChild
Widget
widgetunsigned char child

DESCRIPTION

XmSelectionBoxGetChild is used to access a component within a SelectionBox. The parameters given to the function are the SelectionBox widget and a value indicating which component to access.

NOTE: This routine is obsolete and exists for compatibility with previous releases. Instead of calling XmSelectionBoxGetChild, you should call XtNameToWidget as described in the XmSelectionBox (3) reference page.

widget
Specifies the SelectionBox widget ID.

child
Specifies a component within the SelectionBox. The following values are legal for this parameter:

  1. XmDIALOG_APPLY_BUTTON

  2. XmDIALOG_CANCEL_BUTTON

  3. XmDIALOG_DEFAULT_BUTTON

  4. XmDIALOG_HELP_BUTTON

  5. XmDIALOG_LIST

  6. XmDIALOG_LIST_LABEL

  7. XmDIALOG_OK_BUTTON

  8. XmDIALOG_SELECTION_LABEL

  9. XmDIALOG_SEPARATOR

  10. XmDIALOG_TEXT

  11. XmDIALOG_WORK_AREA
  12. For a complete definition of SelectionBox and its associated resources, see XmSelectionBox (3).

    RETURN

    Returns the widget ID of the specified SelectionBox component. An application should not assume that the returned widget will be of any particular class.

    RELATED

    XmSelectionBox (3).


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