<!-- $XConsortium: ComboSel.sgm /main/5 1996/08/30 14:17:37 rws $ -->
<!-- (c) Copyright 1996 Digital Equipment Corporation. -->
<!-- (c) Copyright 1996 Hewlett-Packard Company. -->
<!-- (c) Copyright 1996 International Business Machines Corp. -->
<!-- (c) Copyright 1996 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1996 Novell, Inc. -->
<!-- (c) Copyright 1996 FUJITSU LIMITED. -->
<!-- (c) Copyright 1996 Hitachi. -->
<RefEntry Id="CDEMOT.XmComboBoxSelectItem">
<RefMeta>
<RefEntryTitle>XmComboBoxSelectItem</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmComboBoxSelectItem</Function></RefName>
<RefPurpose>select a XmComboBox item
</RefPurpose>
</RefNameDiv>
<RefSynopsisDiv>
<FuncSynopsis Remap="ANSI">
<FuncSynopsisInfo>#include &lt;Xm/ComboBox.h>
</FuncSynopsisInfo>
<FuncDef>void <Function>XmComboBoxSelectItem</Function></FuncDef>
<ParamDef>Widget <Parameter>w</Parameter></ParamDef>
<ParamDef>XmString <Parameter>item</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>The
<Function>XmComboBoxSelectItem</Function> function selects an item in the XmList of the XmComboBox
widget.
</Para>
<Para>The
<Symbol Role="Variable">w</Symbol> argument specifies the XmComboBox widget ID.
</Para>
<Para>The
<Symbol Role="Variable">item</Symbol> argument specifies the
<StructName Role="typedef">XmString</StructName> of the item to be selected.
If the
<Symbol Role="Variable">item</Symbol> is not found on the list,
<Function>XmComboBoxSelectItem</Function> notifies the user via the
<Function>XtWarning</Function> function.
</Para>
</RefSect1>
<RefSect1>
<Title>RETURN VALUE</Title>
<Para>The
<Function>XmComboBoxSelectItem</Function> function returns no value.
</Para>
</RefSect1>
<RefSect1>
<Title>SEE ALSO</Title>
<Para>&cdeman.XmComboBoxAddItem;, &cdeman.XmComboBoxDeletePos;, &cdeman.XmComboBoxSetItem;; <![ %CDE.C.CDE; [<Function>XtWarning</Function>(3). ]]><![ %CDE.C.XO; [<Function>XtWarning</Function> ]]>in the &str-Zt;.
</Para>
</RefSect1>
</RefEntry>
