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

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

Contents


 XmStringGenerate(library call)               XmStringGenerate(library call)




 NAME    [Toc]    [Back]
      XmStringGenerate - A convenience function that generates a compound
      string

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      XmString XmStringGenerate(
      XtPointer text,
      XmStringTag tag,
      XmTextType type,
      XmStringTag rendition);

 DESCRIPTION    [Toc]    [Back]
      XmStringGenerate calls the XmStringParseText function with a default
      parse table of entries consisting of '0', which maps to Separator, and
      '', which maps to Tab.  Matching RENDITION_BEGIN and RENDITION_END
      components containing rendition are placed around the resulting
      XmString.

      text      Specifies a NULL-terminated string containing characters of
                a type determined by type.

      tag       Specifies the tag to be used in creating the result. The
                type of tag created (charset or locale) depends on the text
                type and the value given. If specified value is NULL, and
                type indicates that a charset tag should be created, then
                the tag will have the value of XmFONTLIST_DEFAULT_TAG.  If
                tag is NULL, and type indicates a locale tag, then the tag
                will have the value of _MOTIF_DEFAULT_LOCALE.

      type      Specifies the type of text to be passed in, and the tag
                type.  If a locale tag should be created, then type has a
                value of either XmMULTIBYTE_TEXT or XmWIDECHAR_TEXT. If a
                charset should be created, type has a value of
                XmCHARSET_TEXT.

      rendition Specifies the rendition tag to be used in an
                XmSTRING_COMPONENT_RENDITION_BEGIN component which will
                begin the returned string and in an
                XmSTRING_COMPONENT_RENDITION_END component which will end
                it.  If rendition is NULL, no rendition tag is placed.

 RETURN    [Toc]    [Back]
      Returns a new compound string.  The function will allocate space to
      hold the returned compound string.  When the application no longer
      needs the returned compound string, the application should call
      XmStringFree.

 RELATED    [Toc]    [Back]
      XmString(3) and XmStringFree(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmStringTableToXmString HP-UX A convenience function that converts a compound string table to a single compound string
XmStringToXmStringTable HP-UX A convenience function that converts a single compound string to a table of compound strings
XmStringTableParseStringArray HP-UX A convenience function that converts an array of strings to a compound string table
XmCvtByteStreamToXmString HP-UX A compound string function that converts from a compound string in Byte Stream format to a compound string
XmCvtCTToXmString IRIX A compound string function that converts compound text to a compound string
XmCvtCTToXmString Tru64 A compound string function that converts compound text to a compound string
XmCvtCTToXmString HP-UX 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
XmCvtXmStringToCT HP-UX A compound string function that converts a compound string to compound text
XmCvtXmStringToCT IRIX A compound string function that converts a compound string to compound text
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service