1XmFontListRemoveEntry(library call) XmFontListRemoveEntry(library call)
2
3
4
6 XmFontListRemoveEntry — A font list function that removes a font list
7 entry from a font list
8
10 #include <Xm/Xm.h>
11 XmFontList XmFontListRemoveEntry(
12 XmFontList oldlist,
13 XmFontListEntry entry);
14
16 XmFontListRemoveEntry creates a new font list that contains the con‐
17 tents of oldlist minus those entries specified in entry. The routine
18 removes any entries from oldlist that match the components (tag, type
19 font/font set) of the specified entry. The function deallocates the
20 original font list after extracting the required information. The call‐
21 er uses XmFontListEntryFree to recover memory allocated for the speci‐
22 fied entry. This routine does not free the XFontSet or XFontStruct
23 associated with the font list entry that is removed.
24
25 oldlist Specifies the font list
26
27 entry Specifies the font list entry to be removed
28
30 If oldlist is NULL, the function returns NULL. If entry is NULL or no
31 entries are removed, the function returns oldlist. Otherwise, it
32 returns a new font list. If the function returns a new font list, the
33 function allocates space to hold the new font list. The application is
34 responsible for managing the allocated space. The application can
35 recover the allocated space by calling XmFontListFree.
36
38 XmFontList(3), XmFontListAppendEntry(3), XmFontListEntryCreate(3),
39 XmFontListEntryFree(3), XmFontListEntryLoad(3), and XmFontListFree(3).
40
41
42
43 XmFontListRemoveEntry(library call)