1XmFontListAdd(library call)                        XmFontListAdd(library call)
2
3
4

NAME

6       XmFontListAdd — A font list function that creates a new font list
7

SYNOPSIS

9       #include <Xm/Xm.h>
10       XmFontList XmFontListAdd(
11       XmFontList oldlist,
12       XFontStruct *font,
13       XmStringCharSet charset);
14

DESCRIPTION

16       XmFontListAdd  creates  a  new  font list consisting of the contents of
17       oldlist and the new font list element being added. This function  deal‐
18       locates  oldlist  after extracting the required information; therefore,
19       do not reference oldlist thereafter.
20
21       NOTE: This function is obsolete and exists for compatibility with  pre‐
22       vious releases. It has been replaced by XmFontListAppendEntry.
23
24       oldlist   Specifies  a  pointer to the font list to which an entry will
25                 be added.
26
27       font      Specifies a pointer to a font structure  for  which  the  new
28                 font list is generated. This is the structure returned by the
29                 XLib XLoadQueryFont function.
30
31       charset   Specifies the character set identifier for  the  font.   This
32                 can be XmSTRING_DEFAULT_CHARSET, but this value does not com‐
33                 ply with the AES, and it may be removed in future versions of
34                 Motif.  If the value is XmSTRING_DEFAULT_CHARSET, the routine
35                 derives the character set from the current language  environ‐
36                 ment.
37

RETURN

39       Returns  NULL if oldlist is NULL; returns oldlist if font or charset is
40       NULL; otherwise, returns a new font list.
41
43       XmFontList(3) and XmFontListAppendEntry(3).
44
45
46
47                                                   XmFontListAdd(library call)
Impressum