1XmTextFieldInsert(library call) XmTextFieldInsert(library call)
2
3
4
6 XmTextFieldInsert — A TextField function that inserts a character
7 string into a text string
8
10 #include <Xm/TextF.h>
11 void XmTextFieldInsert(
12 Widget widget,
13 XmTextPosition position,
14 char * value);
15
17 XmTextFieldInsert inserts a character string into the text string in
18 the TextField widget. 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 widget Specifies the TextField widget ID
32
33 position Specifies the position in the text string where the character
34 string is to be inserted
35
36 value Specifies the character string value to be added to the text
37 widget
38
39 For a complete definition of TextField and its associated resources,
40 see XmTextField(3).
41
43 XmTextField(3) and XmTextFieldInsertWcs(3).
44
45
46
47 XmTextFieldInsert(library call)