Manual pages › X Window and screen libraries (3X)
XtTransC(3X)
translate widget coordinates
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
NAME
XtTranslateCoordinates - translate widget coordinates
SYNTAX
void XtTranslateCoords(w, x, y, rootx_return, rooty_return)
Widget w;
Position x, y;
Position *rootx_return, *rooty_return;
ARGUMENTS
rootx_return
rooty_return
Returns the root-relative x and y coordinates.
x
y Specify the widget-relative x and y coordinates.
w Specifies the widget.
DESCRIPTION
While XtTranslateCoords is similar to the Xlib XTransla- teCoordinates function, it does not generate a server request because all the required information already is in the widget's data structures.
SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
XWIN 3.0 Last change: 9/1/88 .ie t
XWIN 3.0 Last change: 9/1/88 .ie t