Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dwtcsstring(3dwt) [ultrix 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)

Check Out this Related Man Page

DwtCSTextGetSelection(3Dwt)											       DwtCSTextGetSelection(3Dwt)

Name
       DwtCSTextGetSelection - Retrieves the global selection, if any, currently highlighted, in the compound string text widget.

Syntax
	    DwtCompString DwtCSTextGetSelection(widget)
	    Widget widget;

Arguments
       widget	 Specifies the ID of the compound-string text widget.

Description
       The  DwtCSTextGetSelection  function  retrieves the text currently highlighted (selected) in the compound string text widget.  It returns a
       NULL pointer if no text is selected in the widget.  The application is responsible for freeing the storage  associated  with  the  text	by
       calling XtFree.

Return Values
       This function returns a pointer to the selected compound string text.

See Also
       DwtCSText(3Dwt),  DwtCSTextCreate(3Dwt), DwtCSTextReplace(3Dwt), DwtCSTextGetString(3Dwt), DwtCSTextSetString(3Dwt), DwtCSTextGetEd-
       itable(3Dwt), DwtCSTextSetEditable(3Dwt), DwtCSTextGetMaxLength(3Dwt), DwtCSTextSetMaxLength(3Dwt), DwtCSTextSetSelection(3Dwt),
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

														       DwtCSTextGetSelection(3Dwt)
Man Page