XmTextGetStringWcs(3) | Library Functions Manual | XmTextGetStringWcs(3) |
XmTextGetStringWcs — A Text function that retrieves a copy of the wide character string value of a Text widget "XmTextGetStringWcs" "Text functions" "XmTextGetStringWcs"
#include <Xm/Text.h> wchar_t * XmTextGetStringWcs( Widget widget);
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.
For a complete definition of Text and its associated resources, see XmText(3).
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 (zero).