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

NAME

6       XmTextFieldPosToXY  —  A  TextField  function that accesses the x and y
7       position of a character position
8

SYNOPSIS

10       #include <Xm/TextF.h>
11       Boolean XmTextFieldPosToXY(
12       Widget widget,
13       XmTextPosition position,
14       Position *x,
15       Position *y);
16

DESCRIPTION

18       XmTextFieldPosToXY accesses the x and y position, relative to the upper
19       left  corner  of the TextField widget, of a given character position in
20       the text buffer.
21
22       widget    Specifies the TextField widget ID
23
24       position  Specifies the character position in the text for which the  x
25                 and  y  position  is  accessed.  This is an integer number of
26                 characters from the beginning of the buffer. The first  char‐
27                 acter position is 0.
28
29       x         Specifies  the  pointer  in which the x position is returned.
30                 The returned position is the distance from the left  side  of
31                 the  widget  to the left border of the character.  This value
32                 is meaningful only if the function returns True.
33
34       y         Specifies the pointer in which the y  position  is  returned.
35                 The  returned  position  is  the distance from the top of the
36                 widget to the character's baseline.  This value is meaningful
37                 only if the function returns True.
38
39       For  a  complete  definition of TextField and its associated resources,
40       see XmTextField(3).
41

RETURN

43       This function returns True if the character position  is  displayed  in
44       the  TextField widget; otherwise, it returns False, and no x or y value
45       is returned.
46
48       XmTextField(3).
49
50
51
52                                              XmTextFieldPosToXY(library call)
Impressum