XmTextFieldGetString(3X)

XmTextFieldGetString - A TextField function that accesses the string value

Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.5.

     NAME
          XmTextFieldGetString - A TextField function that accesses
          the string value

     SYNOPSIS
          #include <Xm/TextF.h>
          char * XmTextFieldGetString(
          Widget widget);

     VERSION
          This page documents Motif 2.1.

     DESCRIPTION
          XmTextFieldGetStringaccesses the string value of the
          TextField widget. The application is responsible for freeing
          the storage associated with the string by calling XtFree.

          widget    Specifies the TextField widget ID

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

     RETURN
          Returns a character pointer to the string value of the
          TextField widget.  This returned value is a copy of the
          value of the XmNvalue resource.  Returns an empty string if
          the length of the TextField widget's string is 0 (zero).

     RELATED
          XmTextField(3) and XmTextFieldGetStringWcs(3).