XmFontListAdd(3) | Library Functions Manual | XmFontListAdd(3) |
XmFontListAdd — A font list function that creates a new font list "XmFontListAdd" "font list functions" "XmFontListAdd"
#include <Xm/Xm.h> XmFontList XmFontListAdd( XmFontList oldlist, XFontStruct *font, XmStringCharSet charset);
XmFontListAdd creates a new font list consisting of the contents of oldlist and the new font list element being added. This function deallocates 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.
Returns NULL if oldlist is NULL; returns oldlist if font or charset is NULL; otherwise, returns a new font list.