XmTextFieldGetString(3X)
Prev | Reference Pages | Next

## Name

XmTextFieldGetString(3X) — XmTextFieldGetString--A TextField function that accesses the string value XmTextFieldGetStringTextField functions

## Synopsis

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

## DESCRIPTION

XmTextFieldGetString accesses 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(3X).

## RETURN VALUE

Returns a character pointer to the string value of the TextField widget. Returns an empty string if the length of the TextField widget's string is 0.

## RELATED INFORMATION

XmTextField(3X) and XmTextFieldGetStringWcs(3X).

Prev | Table of Contents | Next
XmTextFieldGetSelectionWcs(3X) |  | XmTextFieldGetStringWcs(3X)