XtTranslateCoords(3xt) XT FUNCTIONS XtTranslateCoords(3xt)NAMEXtTranslateCoords - translate widget coordinates
SYNTAX
cc [ flag... ] file... -lXt [ library... ]
void XtTranslateCoords(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 XTranslateCoordinates
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 attributes:
┌─────────────────────────────┬───────────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼───────────────────────────────────┤
│Availability │x11/library/toolkit/libxt │
├─────────────────────────────┼───────────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼───────────────────────────────────┤
│MT-Level │See XtToolkitThreadInitialize(3XT) │
└─────────────────────────────┴───────────────────────────────────┘
X Version 11 libXt 1.0.8 XtTranslateCoords(3xt)