1XmFontListEntryGetFont(library call) XmFontListEntryGetFont(library call)
2
3
4
6 XmFontListEntryGetFont — A font list function that retrieves font
7 information from a font list entry
8
10 #include <Xm/Xm.h>
11 XtPointer XmFontListEntryGetFont(
12 XmFontListEntry entry,
13 XmFontType *type_return);
14
16 XmFontListEntryGetFont retrieves font information for a specified font
17 list entry. If the font list entry contains a font, type_return returns
18 XmFONT_IS_FONT and the function returns a pointer to an XFontStruct. If
19 the font list entry contains a font set, type_return returns
20 XmFONT_IS_FONTSET and the function returns the XFontSet.
21
22 entry Specifies the font list entry.
23
24 type_return
25 Specifies a pointer to the type of the font element for the
26 current entry. Valid values are XmFONT_IS_FONT and
27 XmFONT_IS_FONTSET.
28
29 The returned XFontSet or XFontStruct is not a copy of the toolkit data
30 and must not be freed.
31
33 Returns an XFontSet or a pointer to an XFontStruct structure.
34
36 XmFontList(3), XmFontListEntryCreate(3), XmFontListEntryGetTag(3)
37 XmFontListEntryLoad(3), and XmFontListNextEntry(3).
38
39
40
41 XmFontListEntryGetFont(library call)