1XmTextInsert(library call)                          XmTextInsert(library call)
2
3
4

NAME

6       XmTextInsert  —  A Text function that inserts a character string into a
7       text string
8

SYNOPSIS

10       #include <Xm/Text.h>
11       void XmTextInsert(
12       Widget widget,
13       XmTextPosition position,
14       char * value);
15

DESCRIPTION

17       XmTextInsert inserts a character string into the  text  string  in  the
18       Text widget. The character positions begin at 0 (zero) and are numbered
19       sequentially from the beginning of the text. For example, to  insert  a
20       string after the fourth character, the parameter position must be 4.
21
22       This  routine  calls the widget's XmNvalueChangedCallback and verifica‐
23       tion callbacks, either XmNmodifyVerifyCallback or  XmNmodifyVerifyCall‐
24       backWcs,  or  both. If both verification callback lists are registered,
25       the procedures of the XmNmodifyVerifyCallback list are  executed  first
26       and  the  resulting  data  is  passed to the XmNmodifyVerifyCallbackWcs
27       callbacks.  If the XmNcursorPosition resource is greater than or is the
28       same value as position, the XmNmotionVerifyCallback is called.
29
30       Note  that,  if value is a null string, no callbacks will be generated,
31       since no modifications will have been made.
32
33       widget    Specifies the Text widget ID.
34
35       position  Specifies the position in the text string where the character
36                 string is to be inserted.
37
38       value     Specifies  the character string value to be added to the text
39                 widget.
40
41       For a complete definition of Text and  its  associated  resources,  see
42       XmText(3).
43
45       XmText(3) and XmTextInsertWcs(3).
46
47
48
49                                                    XmTextInsert(library call)
Impressum