XT FUNCTIONS XtTranslateCoords(3xt)
NAME
XtTranslateCoords - translate widget coordinates
SYNTAXcc [ flag... ] file... -lXt [ library... ]
void XtTranslateCoords(Widget w, Position x, y, Position
*rootx_return, *rooty_return);
ARGUMENTSrootx_return
rooty_return
Returns the root-relative x and y coordinates.
xy 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
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:__________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|___________________________________|
| Availability | x11/library/toolkit/libxt ||_____________________________|___________________________________|
| Interface Stability | Committed ||_____________________________|___________________________________|
| MT-Level | See XtToolkitThreadInitialize(3XT)|
|_____________________________|___________________________________|
X Version 11 Last change: libXt 1.0.8 1