Tcl/Tk Documentation > TkLib > GetRootCrd
Tk_GetRootCoords(tkwin, xPtr, yPtr)
- Tk_Window tkwin (in)
- Token for window.
- int *xPtr (out)
- Pointer to location in which to store root-window x-coordinate corresponding to left edge of tkwin's border.
- int *yPtr (out)
- Pointer to location in which to store root-window y-coordinate corresponding to top edge of tkwin's border.
Copyright © 1995-1997 Roger E. Critchlow Jr. Copyright © 1990 The Regents of the University of California. Copyright © 1994-1996 Sun Microsystems, Inc.