DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmFontListNextEntry(X3mot)


XmFontListNextEntry -- a font list function that returns the next entry in a font list

Synopsis

#include <Xm/Xm.h>

XmFontListEntry XmFontListNextEntry (context) XmFontContext context;

Description

XmFontListNextEntry returns the next entry in the font list. The application uses the XmFontListInitFontContext routine to create a font list context. The first call to XmFontListNextEntry sets the context to the first entry in the font list. The application then calls XmFontListNextEntry repeatedly with the same context. Each succeeding call accesses the next entry of the font list. When finished, the application calls XmFontListFreeFontContext to free the allocated font list context.

context
Specifies the font list context

Return values

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.

References

XmFontList(X3mot), XmFontListEntryFree(X3mot), XmFontListEntryGetFont(X3mot), XmFontListEntryGetTag(X3mot), XmFontListFreeFontContext(X3mot) and XmFontListInitFontContext(X3mot).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004