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


XmFileSelectionBoxGetChild

A FileSelectionBox function used to access a component

Format

#include <Xm/FileSB.h>
Widget XmFileSelectionBoxGetChild
Widget
widgetunsigned char child

DESCRIPTION

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

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

widget
Specifies the FileSelectionBox widget ID.

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

  1. XmDIALOG_APPLY_BUTTON

  2. XmDIALOG_CANCEL_BUTTON

  3. XmDIALOG_DEFAULT_BUTTON

  4. XmDIALOG_DIR_LIST

  5. XmDIALOG_DIR_LIST_LABEL

  6. XmDIALOG_FILTER_LABEL

  7. XmDIALOG_FILTER_TEXT

  8. XmDIALOG_HELP_BUTTON

  9. XmDIALOG_LIST

  10. XmDIALOG_LIST_LABEL

  11. XmDIALOG_OK_BUTTON

  12. XmDIALOG_SELECTION_LABEL

  13. XmDIALOG_SEPARATOR

  14. XmDIALOG_TEXT

  15. XmDIALOG_WORK_AREA
  16. For a complete definition of FileSelectionBox and its associated resources, see XmFileSelectionBox (3).

    RETURN

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

    RELATED

    XmFileSelectionBox (3).


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