XmFontListCreate(3X) UNIX System V XmFontListCreate(3X)
NAME
XmFontListCreate - A font list function that creates a font
list
SYNOPSIS
#include <Xm/Xm.h>
XmFontList XmFontListCreate (font, charset)
XFontStruct * font;
XmStringCharSetcharset;
VERSION
This page documents version 1.2 of the Motif library.
DESCRIPTION
XmFontListCreate creates a new font list with a single
element specified by the provided font and character set.
It also allocates the space for the font list.
Note: This function is obsolete and exists for compatibility
with previous releases. It is replaced by
XmFontListAppendEntry.
font Specifies a pointer to a font structure for which the
new font list is generated. This is the structure
returned by the XLib XLoadQueryFont function.
charsetSpecifies the character set identifier for the font.
This can be XmSTRINGDEFAULTCHARSET, but this value
does not comply with the AES, and it may be removed
in future versions of Motif. If the value is
XmSTRINGDEFAULTCHARSET, the routine derives the
character set from the current language environment.
RETURN VALUE
Returns NULL if font or charset is NULL; otherwise, returns
a new font list.
RELATED INFORMATION
XmFontList(3X) and XmFontListAppendEntry(3X).
Page 1 (printed 4/30/98)