XmTextGetStringWcs(X3mot)


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

Synopsis

#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(X3mot).

Return values

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.

References

XmText(X3mot) and XmTextGetString(X3mot).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004