XtTranslateCoords(3)

XtTranslateCoords3

Translate widget coordinates

Usage

#include <X11/Intrinsic.h>

void XtTranslateCoords(Widget w, Position x, Position y, Position *rootx_return, Position *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.

Releases

11 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11
  8. 12–13
  9. Arch

From libxt 1.3.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.