CoordToWin man page on AIX

Man page or keyword search:  
man Server   4752 pages
apropos Keyword Search (all sections)
Output format
AIX logo
[printable version]

Tk_CoordsToWindow(3)	     Tk Library Procedures	  Tk_CoordsToWindow(3)


       Tk_CoordsToWindow - Find window containing a point

       #include <tk.h>

       Tk_CoordsToWindow(rootX, rootY, tkwin)

       int	   rootX   (in)	     X-coordinate   (in	 root  window  coordi‐

       int	   rootY   (in)	     Y-coordinate  (in	root  window   coordi‐

       Tk_Window   tkwin   (in)	     Token for window that identifies applica‐

       Tk_CoordsToWindow locates the window that contains a given point.   The
       point  is specified in root coordinates with rootX and rootY (if a vir‐
       tual-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.

       containing, coordinates, root window

Tk							  Tk_CoordsToWindow(3)
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server AIX

List of man pages available for AIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net