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

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

Contents


 XmStringToXmStringTable(library call) XmStringToXmStringTable(library call)




 NAME    [Toc]    [Back]
      XmStringToXmStringTable - A convenience function that converts a
      single compound string to a table of compound strings

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      Cardinal XmStringToXmStringTable(
      XmString string,
      XmString break_component,
      XmStringTable *table);

 DESCRIPTION    [Toc]    [Back]
      XmStringToXmStringTable takes as input a single compound string and a
      specified string component (such as a tab) and returns a table of
      compound strings consisting of portions of string delimited by
      components matching break_component. The components marking breaks
      will not appear in the resulting table.

      string    Specifies the XmString to be converted.

      break_component
                Specifies the XmStringComponent that will be used to
                indicate where to split string to form the individual
                elements of table. The most useful types will be
                XmSTRING_COMPONENT_SEPARATOR and XmSTRING_COMPONENT_TAB.
                Refer to the XmStringComponentType(3) reference page for a
                complete list of possible component types. Note, however,
                that the XmSTRING_COMPONENT_UNKNOWN component is not a
                possible type.

      table     Returns the equivalent XmStringTable.  The function will
                allocate space to hold the returned XmStringTable.  When the
                applicaiton no longer needs the returned XmStringTable, the
                application should call XmStringFree once for each compound
                string in the table, and then calling XtFree to deallocate
                the XmStringTable itself.

 RETURN    [Toc]    [Back]
      Returns the number of compound strings in table.

 RELATED    [Toc]    [Back]
      XmStringTable(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
XmStringTableParseStringArray HP-UX A convenience function that converts an array of strings to a compound string table
XmStringTableUnparse HP-UX A convenience function that converts a table of compound strings to an array of text
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
XmCvtXmStringToCT IRIX A compound string function that converts a compound string to compound text
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
XmCvtCTToXmString HP-UX A compound string function that converts compound text to a compound string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service