DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmTextFieldGetStringWcs(Xm)


XmTextFieldGetStringWcs -- a TextField function that retrieves a copy of the wide character string value of a TextField widget

Syntax

#include <Xm/TextF.h>

wchar_t * XmTextFieldGetStringWcs (widget) Widget widget;

Description

XmTextFieldGetStringWcs retrieves a copy of the wide character 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 the wide character string value of the TextField widget. The function returns an empty string if the length of the TextField widget's string is 0.

See also

XmTextField(Xm) and XmTextFieldGetString(Xm).


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003