XmFontListInitFontContext(X3mot)


XmFontListInitFontContext -- a font list function that allows applications to access the entries in a font list

Synopsis

#include <Xm/Xm.h>

Boolean XmFontListInitFontContext (context, fontlist) XmFontContext *context; XmFontList fontlist;

Description

XmFontListInitFontContext establishes a context to allow applications to access the contents of a font list. This context is used when reading the font list entry tag, font, or font set associated with each entry in the font list. A Boolean status is returned to indicate whether or not the font list is valid.

context
Specifies a pointer to the allocated context

fontlist
Specifies the font list

Return values

Returns True if the context was allocated; otherwise, returns False.

References

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