DOKK / manpages / debian 10 / libmotif-dev / XmTextFieldGetStringWcs.3.en
XmTextFieldGetStringWcs(3) Library Functions Manual XmTextFieldGetStringWcs(3)

XmTextFieldGetStringWcs — A TextField function that retrieves a copy of the wide character string value of a TextField widget "XmTextFieldGetStringWcs" "TextField functions" "XmTextFieldGetStringWcs"

#include <Xm/TextF.h>
wchar_t * XmTextFieldGetStringWcs(
Widget widget);

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

Specifies the TextField widget ID

For a complete definition of TextField and its associated resources, see XmTextField(3).

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

XmTextField(3) and XmTextFieldGetString(3).