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

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

Contents


 XmStringComponentCreate(library call) XmStringComponentCreate(library call)




 NAME    [Toc]    [Back]
      XmStringComponentCreate - A compound string function that creates
      arbitrary components

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      XmString XmStringComponentCreate(
      XmStringComponentType c_type,
      unsigned int length,
      XtPointer value);

 DESCRIPTION    [Toc]    [Back]
      XmStringComponentCreate creates a new XmString component of type
      c_type, containing value. If value is invalid for the particular
      component type, this function fails and returns NULL.

      c_type    Specifies the type of component to be created.

      length    Specifies the length in bytes of value.  Note that this must
                be precisely the length of the value string, not including
                any trailing null characters.

      value     Specifies the value to be used in the creation of the
                component.

      Refer to the XmStringComponentType(3) reference page for a list of the
      possible XmString component types.

 RETURN    [Toc]    [Back]
      If value is invalid for c_type, fails and returns NULL. Otherwise,
      this function returns a new compound string.  When the application no
      longer needs the returned compound string, the application should call
      XmStringFree.

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


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmStringWidth IRIX A compound string function that returns the width of the longest sequence of text components in a compound str
XmStringCreateSimple HP-UX A compound string function that creates a compound string in the language environment of a widget
XmStringCreateSimple IRIX A compound string function that creates a compound string in the language environment of a widget
XmStringDrawImage HP-UX A compound string function that draws a compound string in an X Window and creates an image
XmStringDrawImage Tru64 A compound string function that draws a compound string in an X Window and creates an image
XmStringDrawImage IRIX A compound string function that draws a compound string in an X Window and creates an image
XmStringCreateSimple Tru64 A compound string function that creates a compound string in the language environment of a widget
XmStringCreateLocalized Tru64 A compound string function that creates a compound string in the current locale
XmStringCreateLocalized HP-UX A compound string function that creates a compound string in the current locale
XmStringCreateLocalized IRIX A compound string function that creates a compound string in the current locale
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service