1XmTextInsertWcs(library call) XmTextInsertWcs(library call)
2
3
4
6 XmTextInsertWcs — A Text function that inserts a wide character string
7 into a Text widget
8
10 #include <Xm/Text.h>
11 void XmTextInsertWcs(
12 Widget widget,
13 XmTextPosition position,
14 wchar_t *wcstring);
15
17 XmTextInsertWcs inserts a wide character string into the Text widget at
18 a specified location. The character positions begin at 0 (zero) and are
19 numbered sequentially from the beginning of the text. For example, to
20 insert a string after the fourth character, the position parameter must
21 be 4.
22
23 This routine calls the widget's XmNvalueChangedCallback and verifica‐
24 tion callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCall‐
25 backWcs, or both. If both verification callback lists are registered,
26 the procedures of the XmNmodifyVerifyCallback list are executed first
27 and the resulting data is passed to the XmNmodifyVerifyCallbackWcs
28 callbacks. If the XmNcursorPosition resource is greater than or is the
29 same value as position, the XmNmotionVerifyCallback is called.
30
31 Note that, if value is a null string, no callbacks will be generated,
32 since no modifications will have been made.
33
34 widget Specifies the Text widget ID
35
36 position Specifies the position in the text string where the new char‐
37 acter string is to be inserted
38
39 wcstring Specifies the wide character string value to be added to the
40 Text widget
41
42 For a complete definition of Text and its associated resources, see
43 XmText(3).
44
46 XmText(3) and XmTextInsert(3).
47
48
49
50 XmTextInsertWcs(library call)