Query: tk_coordstowindow
OS: opensolaris
Section: 3tk
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Tk_CoordsToWindow(3TK) Tk Library Procedures Tk_CoordsToWindow(3TK) __________________________________________________________________________________________________________________________________________________NAMETk_CoordsToWindow - Find window containing a pointSYNOPSIS#include <tk.h> Tk_Window Tk_CoordsToWindow(rootX, rootY, tkwin)ARGUMENTSint 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. _________________________________________________________________DESCRIPTIONTk_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.KEYWORDScontaining, coordinates, root windowATTRIBUTESSee attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTk | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+NOTESSource for Tk is available on http://opensolaris.org. Tk Tk_CoordsToWindow(3TK)
Related Man Pages |
---|
tk_coordstowindow(3tk) - opensolaris |
tk_mapwindow(3tk) - opensolaris |
tk_pathname(3tk) - opensolaris |
tk_setclass(3tk) - opensolaris |
tk_setgrid(3tk) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
Preventing passwd root? |
Root window banner |
Root window banner, Please help |
su to root |
PL/SQL Determine if the coordinates of a point is within four points |