Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XtTranslateCoords(3Xt)  —  Subroutines  —  XT FUNCTIONS

NAME

XtTranslateCoords − translate widget coordinates

SYNTAX

void XtTranslateCoords(w, x, y, rootx_return, rooty_return)
      Widget w;
      Position x, y;
      Position ∗rootx_return, ∗rooty_return;

ARGUMENTS

rootx_return

rooty_returnReturns the root-relative x and y coordinates. 

x

ySpecify the widget-relative x and y coordinates. 

wSpecifies 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

  —  X Version 11  —  Release 6

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026