Manual Page Result
0
Command: XmFontListEntryGetFont | Section: 3 | Source: Digital UNIX | File: XmFontListEntryGetFont.3X.gz
XmFontListEntryGetFont(3X) XmFontListEntryGetFont(3X)
NAME
XmFontListEntryGetFont - A font list function that retrieves font in-
formation from a font list entry
SYNOPSIS
#include <Xm/Xm.h>
XtPointer XmFontListEntryGetFont (entry, type_return)
XmFontListEntry entry;
XmFontType *type_return;
DESCRIPTION
XmFontListEntryGetFont retrieves font information for a specified font
list entry. If the font list entry contains a font, type_return re-
turns 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. Spec-
ifies the font list entry. Specifies a pointer to the type of the font
element for the current entry. Valid values are XmFONT_IS_FONT and Xm-
FONT_IS_FONTSET.
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.
SEE ALSO
XmFontList(3X), XmFontListEntryCreate(3X), XmFontListEntryGetTag(3X)
XmFontListEntryLoad(3X), XmFontListNextEntry(3X)
XmFontListEntryGetFont(3X)