XmTextFieldSetString man page

XmTextFieldSetString — A TextField function that sets the string value


#include <Xm/TextF.h>
void XmTextFieldSetString(
Widget widget,
char * value);


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.

Specifies the TextField widget ID
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(3).

Referenced By

XmDataField(3), XmTextField(3), XmTextFieldSetMaxLength(3), XmTextFieldSetStringWcs(3).

Explore man page connections for XmTextFieldSetString(3).