XmTextFieldSetString(X3mot)


XmTextFieldSetString -- a TextField function that sets the string value

Synopsis

#include <Xm/TextF.h>

void XmTextFieldSetString (widget, value) Widget widget; char * value;

Description

XmTextFieldSetString sets the string value of the TextField 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 TextField widget ID

value
Specifies the character pointer to the string value and places the string into the text edit window

For a complete definition of TextField and its associated resources, see XmTextField(X3mot).

References

XmTextField(X3mot) and XmTextFieldSetStringWcs(X3mot).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004