<!-- $XConsortium: FontLstV.sgm /main/8 1996/09/08 20:44:42 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.MAN241.rsml.1">
<RefMeta>
<RefEntryTitle>XmFontListNextEntry</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmFontListNextEntry</Function></RefName>
<RefPurpose>A font list function that returns
the next entry in a font list
<IndexTerm>
<Primary>XmFontListNextEntry</Primary>
</IndexTerm><IndexTerm>
<Primary>font list functions</Primary>
<Secondary>XmFontListNextEntry</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>XmFontListEntry <Function>XmFontListNextEntry</Function></FuncDef>
<!--<ParamDef><Replaceable>context</Replaceable></ParamDef>-->
<ParamDef>XmFontContext <Parameter>context</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmFontListNextEntry</Function> returns the next entry in the
font list. The application uses the <Function>XmFontListInitFontContext</Function>
routine to create a font list context. The first call to
<Function>XmFontListNextEntry</Function> sets the context to the first entry
in the font list. The application then calls <Function>XmFontListNextEntry</Function>
repeatedly with the same context. Each succeeding call accesses
the next entry of the font list. When finished, the application
calls <Function>XmFontListFreeFontContext</Function> to free the allocated font
list context.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">context</Symbol></Term>
<ListItem>
<Para>Specifies the font list context
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>Returns NULL if the context does not refer to a valid entry or if
it is at the end of the font list; otherwise, it returns a font list entry.
If the function does return a font list entry, the font list entry is not
a copy. Therefore, the application should not free the returned font list entry.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmFontList;,
&cdeman.XmFontListEntryFree;,
&cdeman.XmFontListEntryGetFont;,
&cdeman.XmFontListEntryGetTag;,
&cdeman.XmFontListFreeFontContext;, and
&cdeman.XmFontListInitFontContext;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
