Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmfontlistadd(3x) [osf1 man page]

XmFontListAdd(3X)														 XmFontListAdd(3X)

NAME
XmFontListAdd - A font list function that creates a new font list SYNOPSIS
#include <Xm/Xm.h> XmFontList XmFontListAdd (oldlist, font, charset) XmFontList oldlist; XFontStruct *font; XmStringCharSet charset; DESCRIPTION
XmFontListAdd creates a new font list consisting of the contents of the oldlist and the new font-list element being added. This function deallocates the oldlist after extracting the required information; therefore, do not reference oldlist thereafter. Note This function is obsolete and exists for compatibility with previous releases. It has been replaced by XmFontListAppendEntry. Specifies a pointer to the font list to which an entry will be added. 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. Specifies the character set identifier for the font. This can be XmSTRING_DEFAULT_CHARSET, but this value does not comply with the AES, and it may be removed in future versions of Motif. If the value is XmSTRING_DEFAULT_CHARSET, the routine derives the character set from the current language environment. RETURN VALUE
Returns NULL if oldlist is NULL; returns oldlist if font or charset is NULL; otherwise, returns a new font list. SEE ALSO
XmFontList(3X), XmFontListAppendEntry(3X) XmFontListAdd(3X)

Check Out this Related Man Page

XmFontListAppendEntry(3X)												 XmFontListAppendEntry(3X)

NAME
XmFontListAppendEntry - A font list function that appends an entry to a font list SYNOPSIS
#include <Xm/Xm.h> XmFontList XmFontListAppendEntry (oldlist, entry) XmFontList oldlist; XmFontListEntry entry; DESCRIPTION
XmFontListAppendEntry creates a new font list that contains the contents of oldlist. This function copies the contents of the font list entry being added into this new font list. If oldlist is NULL, XmFontListAppendEntry creates a new font list containing only the single entry specified. This function deallocates the original font list after extracting the required information. The caller must free the font list entry by using XmFontListEntryFree. Specifies the font list to be added to Specifies the font list entry to be added RETURN VALUE
If entry is NULL, returns oldlist; otherwise, returns a new font list. SEE ALSO
XmFontList(3X), XmFontListEntryCreate(3X), XmFontListEntryFree(3X), XmFontListEntryLoad(3X), XmFontListFree(3X), XmFontListRemoveEntry(3X) XmFontListAppendEntry(3X)
Man Page