DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmFontListRemoveEntry(X3mot)


XmFontListRemoveEntry -- a font list function that removes a font list entry from a font list

Synopsis

#include <Xm/Xm.h>

XmFontList XmFontListRemoveEntry (oldlist, entry) XmFontList oldlist; XmFontListEntry entry;

Description

XmFontListRemoveEntry creates a new font list that contains the contents of oldlist minus those entries specified in entry. The routine removes any entries from oldlist that match the components (tag, type font/font set) of the specified entry. The function deallocates the original font list after extracting the required information. The caller uses XmFontListEntryFree to recover memory allocated for the specified entry. This routine does not free the XFontSet or XFontStruct associated with the font list entry that is removed.

oldlist
Specifies the font list

entry
Specifies the font list entry to be removed

Return values

If oldlist is NULL, the function returns NULL. If entry is NULL or no entries are removed, the function returns oldlist. Otherwise, it returns a new font list.

References

XmFontList(X3mot), XmFontListAppendEntry(X3mot),
XmFontListEntryCreate(X3mot), XmFontListEntryFree(X3mot),
XmFontListEntryLoad(X3mot) and XmFontListFree(X3mot).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004