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

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

Contents


Tk_CoordsToWindow(3Tk)					Tk_CoordsToWindow(3Tk)


NAME    [Toc]    [Back]

     Tk_CoordsToWindow - Find window containing	a point

SYNOPSIS    [Toc]    [Back]

     #include <tk.h>

     Tk_Window
     Tk_CoordsToWindow(rootX, rootY, tkwin)

ARGUMENTS    [Toc]    [Back]

     int	 rootX	 (in)	   X-coordinate	(in root window	coordinates).

     int	 rootY	 (in)	   Y-coordinate	(in root window	coordinates).

     Tk_Window	 tkwin	 (in)	   Token for window that identifies
				   application.

DESCRIPTION    [Toc]    [Back]

     Tk_CoordsToWindow locates the window that contains	a given	point.	The
     point is specified	in root	coordinates with rootX and rootY (if a
     virtual-root window manager is in use then	rootX and rootY	are in the
     coordinate	system of the virtual root window).  The return	value from the
     procedure is a token for the window that contains the given point.	 If
     the point is not in any window, or	if the containing window is not	in the
     same application as tkwin,	then NULL is returned.

     The containing window is decided using the	same rules that	determine
     which window contains the mouse cursor:  if a parent and a	child both
     contain the point then the	child gets preference, and if two siblings
     both contain the point then the highest one in the	stacking order (i.e.
     the one that's visible on the screen) gets	preference.

KEYWORDS    [Toc]    [Back]

     containing, coordinates, root window


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
idtowindow IRIX Find Tk's window information for an X window
mainwin IRIX find the main window for an application
pppoerd.conf HP-UX PPPoE (Point to Point Protocol over Ethernet) relay configuration file
pppoesd.conf HP-UX PPPoE (Point to Point Protocol over Ethernet) server configuration file
pppoec.conf HP-UX PPPoE (Point to Point Protocol over Ethernet) client configuration file
pppoesd HP-UX PPPoE (Point-to-Point Protocol over Ethernet) server daemon
sppp FreeBSD point to point protocol network layer for synchronous lines
sppp OpenBSD point to point protocol network layer for synchronous lines
pppoec HP-UX PPPoE (Point to Point Protocol over Ethernet) client
pppoerd HP-UX PPPoE (Point to Point Protocol over Ethernet) relay
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service