A font list function that retrieves font information from a font list entry
Format
#include <Xm/Xm.h> XtPointer XmFontListEntryGetFont XmFontListEntry entryXmFontType *type_return
DESCRIPTION
XmFontListEntryGetFont retrieves font information for a specified font list entry. If the font list entry contains a font, type_return returns XmFONT_IS_FONT and the function returns a pointer to an XFontStruct. If the font list entry contains a font set, type_return returns XmFONT_IS_FONTSET and the function returns the XFontSet.
The returned XFontSet or XFontStruct is not a copy of the toolkit data and must not be freed.
RETURN
Returns an XFontSet or a pointer to an XFontStruct structure.
RELATED
XmFontList (3), XmFontListEntryCreate (3), XmFontListEntryGetTag (3) XmFontListEntryLoad (3), and XmFontListNextEntry (3).