XmTextGetString - A Text function that accesses the string value
#include <Xm/Text.h> Widget widget;
XmTextGetString accesses the 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(3X).
Returns a character pointer to the string value of the text widget. Returns an empty string if the length of the Text widget's string is 0.