1XmRegisterSegmentEncoding(library call)XmRegisterSegmentEncoding(library call)
2
3
4

NAME

6       XmRegisterSegmentEncoding — A compound string function that registers a
7       compound text encoding format for a specified font list element tag
8

SYNOPSIS

10       #include <Xm/Xm.h>
11       char * XmRegisterSegmentEncoding(
12       char *fontlist_tag,
13       char *ct_encoding);
14

DESCRIPTION

16       XmRegisterSegmentEncoding registers a  compound  text  encoding  format
17       with  the  specified font list element tag. The XmCvtXmStringToCT func‐
18       tion uses this registry to map the font list tags  of  compound  string
19       segments to compound text encoding formats. Registering a font list tag
20       that already exists in the registry overwrites the original entry.  You
21       can  unregister  a  font  list  tag  by  passing  a  NULL value for the
22       ct_encoding parameter.
23
24       fontlist_tag
25                 Specifies the font list element tag to be registered. The tag
26                 must be a NULL-terminated ISO8859-1 string.
27
28       ct_encoding
29                 Specifies the compound text character set to be used for seg‐
30                 ments with the font list tag. The value must be a NULL-termi‐
31                 nated  ISO8859-1  string.   A value of XmFONTLIST_DEFAULT_TAG
32                 maps the specified font list tag  to  the  code  set  of  the
33                 locale.
34

RETURN

36       Returns  NULL  for a new font list tag or the old ct_encoding value for
37       an already registered font list tag. The application is responsible for
38       freeing the storage associated with the returned data (if any) by call‐
39       ing XtFree.
40
42       XmCvtXmStringToCT(3),   XmFontList(3),   XmMapSegmentEncoding(3),   and
43       XmString(3).
44
45
46
47                                       XmRegisterSegmentEncoding(library call)
Impressum