XmTextFieldGetStringWcs(X3mot)


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

Synopsis

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

Return values

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.

References

XmTextField(X3mot) and XmTextFieldGetString(X3mot).


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.