Index Index for
Section 3Xt
Index Alphabetical
listing for X
Bottom of page Bottom of
page

XtTranslateCoords(3Xt)

X11R6

NAME

XtTranslateCoords - translate widget coordinates

SYNOPSIS

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 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

Index Index for
Section 3Xt
Index Alphabetical
listing for X
Top of page Top of
page