<!-- $XConsortium: FontLstD.sgm /main/8 1996/09/08 20:43:30 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.MAN229.rsml.1">
<RefMeta>
<RefEntryTitle>XmFontListAppendEntry</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmFontListAppendEntry</Function></RefName>
<RefPurpose>A font list function that appends an entry to a font list
<IndexTerm>
<Primary>XmFontListAppendEntry</Primary>
</IndexTerm><IndexTerm>
<Primary>font list  functions</Primary>
<Secondary>XmFontListAppendEntry</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/Xm.h>
</FuncSynopsisInfo>
<FuncDef>XmFontList <Function>XmFontListAppendEntry</Function></FuncDef>
<!--<ParamDef><Replaceable>oldlist, entry</Replaceable></ParamDef>-->
<ParamDef>XmFontList <Parameter>oldlist</Parameter></ParamDef>
<ParamDef>XmFontListEntry <Parameter>entry</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmFontListAppendEntry</Function> creates a new font list that
contains the contents of <Symbol Role="Variable">oldlist</Symbol>. This function
copies the contents of the font list entry being added
into this new font list. If <Symbol Role="Variable">oldlist</Symbol> is NULL,
<Function>XmFontListAppendEntry</Function> creates a new font list containing
only the single entry specified.
</Para>
<Para>This function deallocates the original font list after
extracting the required information. The caller must
free the font list entry by using <Function>XmFontListEntryFree</Function>.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">oldlist</Symbol></Term>
<ListItem>
<Para>Specifies the font list to be added to
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">entry</Symbol></Term>
<ListItem>
<Para>Specifies the font list entry to be added
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>If <Symbol Role="Variable">entry</Symbol> is NULL, returns <Symbol Role="Variable">oldlist</Symbol>; otherwise, returns
a new font list.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmFontList;,
&cdeman.XmFontListEntryCreate;,
&cdeman.XmFontListEntryFree;,
&cdeman.XmFontListEntryLoad;,
&cdeman.XmFontListFree;, and
&cdeman.XmFontListRemoveEntry;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
