DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmTextSetStringWcs(Xm)


XmTextSetStringWcs -- a Text function that sets a wide character string value

Syntax

#include <Xm/Text.h>

void XmTextSetStringWcs (widget, wcstring) Widget widget; wchar_t *wcstring;

Description

XmTextSetStringWcs sets the wide character string value of the Text widget. This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first and the resulting data is passed to the XmNmodifyVerifyCallbackWcs callbacks. It also sets the insertion cursor position to the beginning of the string and calls the widget's XmNmotionVerifyCallback callbacks.

widget
Specifies the Text widget ID.

value
Specifies the wide character string value and places the string into the text edit window.

For a complete definition of Text and its associated resources, see XmText(Xm).

See also

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