*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmFontListAdd (3)              
Title
Content
Arch
Section
 

Contents


 XmFontListAdd(library call)                     XmFontListAdd(library call)




 NAME    [Toc]    [Back]
      XmFontListAdd - A font list function that creates a new font list

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      XmFontList XmFontListAdd(
      XmFontList oldlist,
      XFontStruct *font,
      XmStringCharSet charset);

 DESCRIPTION    [Toc]    [Back]
      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.

      oldlist   Specifies a pointer to the font list to which an entry will
                be added.

      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.

 RETURN    [Toc]    [Back]
      Returns NULL if oldlist is NULL; returns oldlist if font or charset is
      NULL; otherwise, returns a new font list.

 RELATED    [Toc]    [Back]
      XmFontList(3) and XmFontListAppendEntry(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmFontListEntryLoad IRIX A font list function that loads a font or creates a font set and creates an accompanying font list entry
XmFontListEntryLoad HP-UX A font list function that loads a font or creates a font set and creates an accompanying font list entry
XmFontListEntryLoad Tru64 A font list function that loads a font or creates a font set and creates an accompanying font list e...
XmFontListEntryCreate Tru64 A font list function that creates a font list entry
XmFontListEntryCreate IRIX A font list function that creates a font list entry
XmFontListEntryCreate HP-UX A font list function that creates a font list entry
XmFontListCreate HP-UX A font list function that creates a font list
XmFontListCreate IRIX A font list function that creates a font list
XmFontListCreate Tru64 A font list function that creates a font list
XmFontListEntryGetFont IRIX A font list function that retrieves font information from a font list entry
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service