1XmTextPosition(library call) XmTextPosition(library call)
2
3
4
6 XmTextPosition — Data type for a character position within a text
7 string
8
10 #include <Xm/Xm.h>
11
13 XmTextPosition is an integer data type that holds a character's posi‐
14 tion within a text string for Text and TextField.
15
16 An XmTextPosition value conceptually points to the gap between two
17 characters. For example, consider a text string consisting of N char‐
18 acters. A value of 0 refers to the position immediately prior to the
19 first character. A value of 1 refers to the position in between the
20 first and second characters. A value of N refers to the position imme‐
21 diately following the last character. Therefore, the text string of N
22 characters actually contains N + 1 positions.
23
25 XmText(3).
26
27
28
29 XmTextPosition(library call)