XmFontListEntryGetFont(3X) SDK X11 R4.11MU05 XmFontListEntryGetFont(3X)
NAME
XmFontListEntryGetFont--A font list function that retrieves font
information from a font list entry
SYNOPSIS
#include <Xm/Xm.h>
XtPointer XmFontListEntryGetFont (entry, typereturn)
XmFontListEntryentry;
XmFontType *typereturn;
DESCRIPTION
XmFontListEntryGetFont retrieves font information for a specified
font list entry. If the font list entry contains a font, typereturn
returns XmFONTISFONT and the function returns a pointer to an
XFontStruct. If the font list entry contains a font set, typereturn
returns XmFONTISFONTSET and the function returns the XFontSet.
entry Specifies the font list entry.
typereturn
Specifies a pointer to the type of the font element for the
current entry. Valid values are XmFONTISFONT and
XmFONTISFONTSET.
The returned XFontSet or XFontStruct is not a copy of the toolkit
data and must not be freed.
RETURN VALUE
Returns an XFontSet or a pointer to an XFontStruct structure.
RELATED INFORMATION
XmFontList(3X), XmFontListEntryCreate(3X), XmFontListEntryGetTag(3X)
XmFontListEntryLoad(3X), and XmFontListNextEntry(3X).
Licensed material--property of copyright holder(s)