XmTextGetString(3X)
Prev | Reference Pages | Next

## Name

XmTextGetString(3X) — XmTextGetString--A Text function that accesses the string value XmTextGetStringText functions

## Synopsis

#include <Xm/Text.h>
char * XmTextGetString (`widget`)
Widget `widget`;

## DESCRIPTION

XmTextGetString accesses the string value of the Text widget. The application 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 XmText(3X).

## RETURN VALUE

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.

## RELATED INFORMATION

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

Prev | Table of Contents | Next
XmTextGetSource(3X) |  | XmTextGetStringWcs(3X)