<!-- $XConsortium: CommGe.sgm /main/8 1996/09/08 20:31:08 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN108.rsml.1">
<RefMeta>
<RefEntryTitle>XmCommandGetChild</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmCommandGetChild</Function></RefName>
<RefPurpose>A Command function that is used to access a component
<IndexTerm>
<Primary>XmCommandGetChild</Primary>
</IndexTerm><IndexTerm>
<Primary>Command functions</Primary>
<Secondary>XmCommandGetChild</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc.-->
<!-- **      All Rights Reserved.-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988 by Digital Equipment Corporation,-->
<!-- **      Maynard, MA.  All Rights Reserved.-->
<!-- **-->
<!-- **-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/Command.h>
</FuncSynopsisInfo>
<FuncDef>Widget <Function>XmCommandGetChild</Function></FuncDef>
<!--<ParamDef><Replaceable>widget, child</Replaceable></ParamDef>-->
<ParamDef>Widget <Parameter>widget</Parameter></ParamDef>
<ParamDef>unsigned char <Parameter>child</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmCommandGetChild</Function> 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.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">widget</Symbol></Term>
<ListItem>
<Para>Specifies the Command widget ID.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">child</Symbol></Term>
<ListItem>
<Para>Specifies a component within the Command.
The following values are legal for
this parameter:
</Para>
<ItemizedList>
<ListItem>
<Para><SystemItem Class="Constant">XmDIALOG_COMMAND_TEXT</SystemItem>
</Para>
</ListItem>
<ListItem>
<Para><SystemItem Class="Constant">XmDIALOG_PROMPT_LABEL</SystemItem>
</Para>
</ListItem>
<ListItem>
<Para><SystemItem Class="Constant">XmDIALOG_HISTORY_LIST</SystemItem>
</Para>
</ListItem>
<ListItem>
<Para><SystemItem Class="Constant">XmDIALOG_WORK_AREA</SystemItem>
</Para>
</ListItem>
</ItemizedList>
</ListItem>
</VarListEntry>
</VariableList>
<Para>For a complete definition of Command and its associated resources, see
&cdeman.XmCommand;.
</Para>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>Returns the widget ID of the specified Command component.
An application should not assume that the returned widget will be of any
particular class.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmCommand;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
