logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XmFontListCreate — A font list function that creates a font list "XmFontListCreate" "font list functions"

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.

       charset   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.

Name

XmFontListCreate — A font list function that creates a font list "XmFontListCreate" "font list functions"
       "XmFontListCreate"

Return

       Returns NULL if font or charset is NULL; otherwise, returns a new font list.

Synopsis

       #include <Xm/Xm.h>
       XmFontListXmFontListCreate(
       XFontStruct*font,
       XmStringCharSetcharset);

See Also