XmTextGetString(3X)

XmTextGetString --A Text function that accesses the string value

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     XmTextGetString --A Text function that accesses the string value

SYNOPSIS
     #include <Xm/Text.h>

     char * XmTextGetString (widget)
          Widget    widget;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmTextGetString accesses the string value of the Text widget.  The applica-
     tion  is  responsible for freeing the storage associated with the string by
     calling XtFree.


     widget Specifies the Text widget ID


     For a complete definition of Text and its  associated  resources,  see  Xm-
     Text(3X).

RETURN VALUE
     Returns  a  character  pointer to the string value of the text widget.  Re-
     turns an empty string if the length of the Text widget's string is 0.

RELATED INFORMATION
     XmText(3X) and XmTextGetStringWcs(3X).

                                                             XmTextGetString(3X)