logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XtTranslateCoords - translate widget coordinates

Arguments

rootx_returnrooty_return
                 Returns the root-relative x and y coordinates.

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

Name

       XtTranslateCoords - translate widget coordinates

See Also

XToolkitIntrinsics-CLanguageInterfaceXlib-CLanguageXInterface

X Version 11                                       libXt 1.2.1                              XtTranslateCoords(3)

Syntax

       #include <X11/Intrinsic.h>

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

See Also