XtTranslateCoordinates(3Xt)XT FUNCTIONS
XtTranslateCoordinates(3Xt)
NAME
XtTranslateCoordinates - translate widget coordinates
SYNTAX
void XtTranslateCoords(w, x, y, rootxreturn,
rootyreturn)
Widget w;
Position x, y;
Position *rootxreturn, *rootyreturn;
ARGUMENTS
rootxreturn
rootyreturn
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 XTranslate-
Coordinates 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
X Version 11 Release 3 1