DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmTextGetStringWcs(Xm)


XmTextGetStringWcs -- a Text function that retrieves a copy of the wide character string value of a Text widget

Syntax

#include <Xm/Text.h>

wchar_t * XmTextGetStringWcs (widget) Widget widget;

Description

XmTextGetStringWcs retrieves a copy of the wide character string value of the Text widget. The application is responsible for freeing the storage associated with the string by calling XtFree.

widget
Specifies the Text widget ID

For a complete definition of Text and its associated resources, see XmText(Xm).

Return value

Returns the wide character string value of the Text widget. The function returns an empty string if the length of the Text widget's string is 0.

See also

XmText(Xm) and XmTextGetString(Xm).
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003