1XmFontListCreate(library call) XmFontListCreate(library call)
2
3
4
6 XmFontListCreate — A font list function that creates a font list
7
9 #include <Xm/Xm.h>
10 XmFontList XmFontListCreate(
11 XFontStruct * font,
12 XmStringCharSet charset);
13
15 XmFontListCreate creates a new font list with a single element speci‐
16 fied by the provided font and character set. It also allocates the
17 space for the font list.
18
19 NOTE: This function is obsolete and exists for compatibility with pre‐
20 vious releases. It is replaced by XmFontListAppendEntry.
21
22 font Specifies a pointer to a font structure for which the new
23 font list is generated. This is the structure returned by the
24 XLib XLoadQueryFont function.
25
26 charset Specifies the character set identifier for the font. This
27 can be XmSTRING_DEFAULT_CHARSET, but this value does not com‐
28 ply with the AES, and it may be removed in future versions of
29 Motif. If the value is XmSTRING_DEFAULT_CHARSET, the routine
30 derives the character set from the current language environ‐
31 ment.
32
34 Returns NULL if font or charset is NULL; otherwise, returns a new font
35 list.
36
38 XmFontList(3) and XmFontListAppendEntry(3).
39
40
41
42 XmFontListCreate(library call)