XmTextGetString(X3mot)


XmTextGetString -- a Text function that accesses the string value

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(X3mot).

Return values

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.

References

XmText(X3mot) and XmTextGetStringWcs(X3mot).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004