DOKK / manpages / debian 11 / libmotif-dev / XmDataFieldGetStringWcs.3.en
XmDataFieldGetStringWcs(3) Library Functions Manual XmDataFieldGetStringWcs(3)

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

#include <Xm/DataF.h>
wchar_t * XmDataFieldGetStringWcs(
Widget widget);

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

Specifies the DataField widget ID

For a complete definition of DataField and its associated resources, see XmDataField(3).

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

XmDataField(3) and XmDataFieldGetString(3).