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

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

Contents


 XmRegisterSegmentEncoding(library calXlm)RegisterSegmentEncoding(library call)




 NAME    [Toc]    [Back]
      XmRegisterSegmentEncoding - A compound string function that registers
      a compound text encoding format for a specified font list element tag

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      char * XmRegisterSegmentEncoding(
      char *fontlist_tag,
      char *ct_encoding);

 DESCRIPTION    [Toc]    [Back]
      XmRegisterSegmentEncoding registers a compound text encoding format
      with the specified font list element tag. The XmCvtXmStringToCT
      function uses this registry to map the font list tags of compound
      string segments to compound text encoding formats. Registering a font
      list tag that already exists in the registry overwrites the original
      entry. You can unregister a font list tag by passing a NULL value for
      the ct_encoding parameter.

      fontlist_tag
                Specifies the font list element tag to be registered. The
                tag must be a NULL-terminated ISO8859-1 string.

      ct_encoding
                Specifies the compound text character set to be used for
                segments with the font list tag. The value must be a NULLterminated
 ISO8859-1 string.  A value of
                XmFONTLIST_DEFAULT_TAG maps the specified font list tag to
                the code set of the locale.

 RETURN    [Toc]    [Back]
      Returns NULL for a new font list tag or the old ct_encoding value for
      an already registered font list tag. The application is responsible
      for freeing the storage associated with the returned data (if any) by
      calling XtFree.

 RELATED    [Toc]    [Back]
      XmCvtXmStringToCT(3), XmFontList(3), XmMapSegmentEncoding(3), and
      XmString(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmRegisterSegmentEncoding Tru64 A compound string function that registers a compound text encoding format for a specified font list ...
XmMapSegmentEncoding HP-UX A compound string function that returns the compound text encoding format associated with the specified font l
XmMapSegmentEncoding IRIX A compound string function that returns the compound text encoding format associated with the specified font l
XmMapSegmentEncoding Tru64 A compound string function that returns the compound text encoding format associated with the specif...
XmCvtByteStreamToXmString HP-UX A compound string function that converts from a compound string in Byte Stream format to a compound string
XmCvtXmStringToCT Tru64 A compound string function that converts a compound string to compound text
XmCvtCTToXmString Tru64 A compound string function that converts compound text to a compound string
XmCvtCTToXmString IRIX A compound string function that converts compound text to a compound string
XmCvtXmStringToCT IRIX A compound string function that converts a compound string to compound text
XmCvtXmStringToCT HP-UX A compound string function that converts a compound string to compound text
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service