XtTranslateCoordinates(3x)

XtTranslateCoordinates3x

Translate widget coordinates

Usage

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.

Overview

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.

From xmanpages 3.1.2-6 in Debian 1.1 (Buzz). Parsed by carta from the page's man source.