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


XmCommandGetChild

A Command function that is used to access a component

Format

#include <Xm/Command.h>
Widget XmCommandGetChild
Widget
widgetunsigned char child

DESCRIPTION

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

widget
Specifies the Command widget ID.

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

  1. XmDIALOG_COMMAND_TEXT

  2. XmDIALOG_PROMPT_LABEL

  3. XmDIALOG_HISTORY_LIST

  4. XmDIALOG_WORK_AREA
  5. For a complete definition of Command and its associated resources, see XmCommand (3).

    RETURN

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

    RELATED

    XmCommand (3).


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