*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Tk/getrootcrd (3)              
Title
Content
Arch
Section
 

Contents


Tk_GetRootCoords(3Tk)					 Tk_GetRootCoords(3Tk)


NAME    [Toc]    [Back]

     Tk_GetRootCoords -	Compute	root-window coordinates	of window

SYNOPSIS    [Toc]    [Back]

     #include <tk.h>

     Tk_GetRootCoords(tkwin, xPtr, yPtr)

ARGUMENTS    [Toc]    [Back]

     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.

DESCRIPTION    [Toc]    [Back]

     This procedure scans through the structural information maintained	by Tk
     to	compute	the root-window	coordinates corresponding to the upper-left
     corner of tkwin's border.	If tkwin has no	border,	then Tk_GetRootCoords
     returns the root-window coordinates corresponding to location (0,0) in
     tkwin.  Tk_GetRootCoords is relatively efficient, since it	doesn't	have
     to	communicate with the X server.

KEYWORDS    [Toc]    [Back]

     coordinates, root window


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
glDepthRange Tru64 specify mapping of depth values from normalized device coordinates to window coordinates
gldepthrange IRIX specify mapping of depth values from normalized device coordinates to window coordinates
gluunproject4 IRIX map window and clip coordinates to object coordinates
gluunproject IRIX map window coordinates to object coordinates
gluproject IRIX map object coordinates to window coordinates
gluUnProject Tru64 map window coordinates to object coordinates
gluProject Tru64 map object coordinates to window coordinates
bgpaste IRIX paste an image onto the root window
curs_getyx IRIX get curses cursor and window coordinates
xsetroot IRIX root window parameter setting utility for X
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service