DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmTextFieldGetString(Xm)


XmTextFieldGetString -- a TextField function that accesses the string value

Syntax

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

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.

See also

XmTextField(Xm) and XmTextFieldGetStringWcs(Xm).


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005