Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dwtstring(3dwt) [ultrix man page]

DwtString(3Dwt) 														   DwtString(3Dwt)

Name
       DwtString - Creates a compound-string.

Syntax
       DwtCompString DwtString(text, charset, direction_r_to_l)
	    char *text;
	    unsigned long charset;
	    char direction_r_to_l;

Arguments
       text	 Specifies the text string to be converted to a compound-string.

       charset	 Specifies  the  character  set  for  the  compound-string.   Values  for  this  argument  can	be  found  in  the  required  file
		 /usr/include/cda_def.h.

       direction_r_to_l
		 Specifies the direction in which the text is drawn and wraps.	You can pass DwtDirectionLeftDown (text  is  drawn  from  left	to
		 right	and  wraps down); DwtDirectionRightUp (text is drawn from left to right and wraps up); DwtDirectionLeftDown (text is drawn
		 from right to left and wraps down); or DwtDirectionLeftUp (text is drawn from right to left and wraps up).

Description
       The DwtString function creates a compound-string from information in the argument list.	It has a simpler interface than the one  used  for
       DwtCSString.

       DwtString assumes the following default values:

       o    For language the default is DwtLanguageNotSpecified.

       o    For  rend  the default is DwtRendMaskNone.	The space for the resulting compound-string is allocated within the function.  After using
	    this function, you should free this space by calling XtFree.

Return Values
       This function returns the resulting compound-string.  However, it returns a NULL pointer if the text is NULL.

See Also
       DwtCSString(3Dwt), DwtLatin1String(3Dwt)
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

																   DwtString(3Dwt)

Check Out this Related Man Page

DwtCSString(3Dwt)														 DwtCSString(3Dwt)

Name
       DwtCSString - Creates a compound-string.

Syntax
       DwtCompString DwtCSString(text, charset, direction_r_to_l,
				  language, rend)
	    char *text;
	    unsigned long charset;
	    char direction_r_to_l;
	    unsigned long language;
	    DwtRendMask rend;

Arguments
       text	 Specifies the text string to be converted to a compound-string.

       charset	 Specifies  the  character  set  for  the  compound-string.   Values  for  this  argument  can	be  found  in  the  required  file
		 /usr/include/cda_def.h.

       direction_r_to_l
		 Specifies the direction in which the text is drawn and wraps.	You can pass DwtDirectionLeftDown (text  is  drawn  from  left	to
		 right	and  wraps down); DwtDirectionRightUp (text is drawn from left to right and wraps up); DwtDirectionLeftDown (text is drawn
		 from right to left and wraps down); or DwtDirectionLeftUp (text is drawn from right to left and wraps up).

       language  Included for future use.

       rend	 Included for future use.

Description
       The DwtCSString function creates a compound-string from information in the argument list.  Space for  the  resulting  string  is  allocated
       within the function.  After using this function, you should free the space by calling XtFree.

Return Values
       This function returns the resulting compound-string.  However, it returns a NULL pointer if the input string is NULL.

See Also
       DwtLatin1String(3Dwt), DwtString(3Dwt)
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

																 DwtCSString(3Dwt)
Man Page