Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtTranslateCoordinates(3Xt) — OSF/1 SILVER Baselevel 4 rev36

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XtTranslateCoordinates(3Xt)  —  Subroutines

X11R4

NAME

XtTranslateCoordinates − translate widget coordinates

SYNOPSIS

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

PARAMETERS

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.

RELATED INFORMATION

X Window System Toolkit: The Complete Programmer’s Guide and Specification, Paul J. Asente and Ralph Swick
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

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