1XmTextSetString(library call) XmTextSetString(library call)
2
3
4
6 XmTextSetString — A Text function that sets the string value
7
9 #include <Xm/Text.h>
10 void XmTextSetString(
11 Widget widget,
12 char * value);
13
15 XmTextSetString sets the string value of the Text widget. This routine
16 calls the widget's XmNvalueChangedCallback and verification callbacks,
17 either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both.
18 If both verification callback lists are registered, the procedures of
19 the XmNmodifyVerifyCallback list are executed first and the resulting
20 data is passed to the XmNmodifyVerifyCallbackWcs callbacks. This func‐
21 tion also sets the insertion cursor position to the beginning of the
22 string and calls the widget's XmNmotionVerifyCallback callbacks.
23
24 widget Specifies the Text widget ID
25
26 value Specifies the character pointer to the string value and
27 places the string into the text edit window
28
29 For a complete definition of Text and its associated resources, see
30 XmText(3).
31
33 XmText(3) and XmTextSetStringWcs(3).
34
35
36
37 XmTextSetString(library call)