1XmTextFieldInsertWcs(library call) XmTextFieldInsertWcs(library call)
2
3
4
6 XmTextFieldInsertWcs — A TextField function that inserts a wide charac‐
7 ter string into a TextField widget
8
10 #include <Xm/TextF.h>
11 void XmTextFieldInsertWcs(
12 Widget widget,
13 XmTextPosition position,
14 wchar_t *wcstring);
15
17 XmTextFieldInsertWcs inserts a wide character string into the TextField
18 widget at a specified location. The character positions begin at 0
19 (zero) and are numbered sequentially from the beginning of the text.
20 For example, to insert a string after the fourth character, the posi‐
21 tion parameter must 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 widget Specifies the TextField widget ID
32
33 position Specifies the position in the text string where the new char‐
34 acter string is to be inserted
35
36 wcstring Specifies the wide character string value to be added to the
37 TextField widget
38
39 For a complete definition of TextField and its associated resources,
40 see XmTextField(3).
41
43 XmTextField(3) and XmTextFieldInsert(3).
44
45
46
47 XmTextFieldInsertWcs(library call)