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

XmDataFieldGetString — A DataField function that accesses the string value "XmDataFieldGetString" "DataField functions" "XmDataFieldGetString"

#include <Xm/DataF.h>
char * XmDataFieldGetString(
Widget widget);

XmDataFieldGetString accesses the 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 a character pointer to the string value of the DataField widget. This returned value is a copy of the value of the XmNvalue resource. Returns an empty string if the length of the DataField widget's string is 0 (zero).

XmDataField(3) and XmDataFieldGetStringWcs(3).