Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmStringComponentCreate(3) Library Functions Manual XmStringComponentCreate(3)

NAME
       XmStringComponentCreate	-- A compound string function that creates ar-
       bitrary components

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

DESCRIPTION
       XmStringComponentCreate	creates	 a  new	 XmString  component  of  type
       c_type, containing value. If value is invalid for the particular	compo-
       nent 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	compo-
		 nent.

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

RETURN
       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 Xm-
       StringFree.

RELATED
       XmString(3),  XmStringGetNextTriple,  XmStringComponentType,  and   Xm-
       StringFree(3).

						    XmStringComponentCreate(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmStringComponentCreate&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help