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

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

Contents


 XmStringUnparse(library call)                 XmStringUnparse(library call)




 NAME    [Toc]    [Back]
      XmStringUnparse - A compound string function that unparses text

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      XtPointer XmStringUnparse(
      XmString string,
      XmStringTag tag,
      XmTextType tag_type,
      XmTextType output_type,
      XmParseTable parse_table,
      Cardinal parse_count,
      XmParseModel parse_model);

 DESCRIPTION    [Toc]    [Back]
      XmStringUnparse looks in the input string for text segments that are
      tagged with locale or charset tags that match tag. The tag_type
      parameter specifies whether the tag is a locale or charset type.  If
      tag has a value of NULL, all the segments are matched. When a text
      segment is found with a matching tag, it is added to the end of a
      resulting string. The characters in the resulting string are of type
      output_type.

      XmStringUnparse also checks string for components that match
      components in parse_table, and also to see if the component matches
      the condition specified by parse_model. If the string component
      matches in both checks, then the associated character is added to the
      end of the resulting string.

      string    Specifies the XmString to be converted.

      tag       Specifies the tag to be used in matching with text segments.
                Only text segments that match tag will be included in the
                resulting string. If tag has a value of NULL, all segments
                are considered as matches, and tag_type is ignored.

      tag_type  Specifies the type of tag to be searched for, including
                XmMULTIBYTE_TEXT, XmWIDECHAR_TEXT, and XmCHARSET_TEXT.

      output_type
                Specifies the type of text to be returned in the string,
                including XmMULTIBYTE_TEXT, XmWIDECHAR_TEXT, and
                XmCHARSET_TEXT.

      parse_table
                Specifies the parse table to be used in scanning for
                compound string components to be converted to other
                characters.

      parse_count
                Specifies how many entries are in parse_table.



                                    - 1 -       Formatted:  January 24, 2005






 XmStringUnparse(library call)                 XmStringUnparse(library call)




      parse_model
                Specifies which non-text components to be considered in
                matching in parse_table. These include:

                XmOUTPUT_ALL    [Toc]    [Back]
                          Puts out all matching components.

                XmOUTPUT_BETWEEN    [Toc]    [Back]
                          Puts out only those matching components that are
                          between two matching text components.

                XmOUTPUT_BEGINNING    [Toc]    [Back]
                          Puts out only those matching components that are
                          at the beginning of a matching text component.

                XmOUTPUT_END    [Toc]    [Back]
                          Puts out only those matching components that are
                          at the end of a matching text component.

                XmOUTPUT_BOTH    [Toc]    [Back]
                          Puts out only those matching components that are
                          at the beginning or end of a matching text
                          component.

 RETURN    [Toc]    [Back]
      Returns a newly allocated string containing characters of a type
      determined by output_type.  The application is responsible for
      managing this allocated space.  The application can recover this
      allocated space by calling XtFree.

 RELATED    [Toc]    [Back]
      XmString(3), XmParseTable(3), XmParseMapping(3).


                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmStringGetLtoR IRIX A compound string function that searches for a text segment in the input compound string
XmStringGetLtoR HP-UX A compound string function that searches for a text segment in the input compound string
XmStringGetLtoR Tru64 A compound string function that searches for a text segment in the input compound string
XmCvtXmStringToCT IRIX A compound string function that converts a compound string to compound text
XmCvtCTToXmString IRIX A compound string function that converts compound text 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
XmCvtXmStringToCT HP-UX A compound string function that converts a compound string to compound text
XmCvtCTToXmString HP-UX A compound string function that converts compound text to a compound string
XmMapSegmentEncoding HP-UX A compound string function that returns the compound text encoding format associated with the specified font l
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service