DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmTextGetString(Xm)


XmTextGetString -- a Text function that accesses the string value

Syntax

#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(Xm).

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.

See also

XmText(Xm) and XmTextGetStringWcs(Xm).
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005