Unix and Linux Discussions Tagged with point |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
3,481 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
5,640 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
3,158 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
5,872 |
UNIX for Beginners Questions & Answers |
|
|
|
21 |
58,039 |
OS X (Apple) |
|
|
|
16 |
32,585 |
OS X (Apple) |
|
|
|
9 |
8,824 |
Solaris |
|
|
|
2 |
3,700 |
Linux |
|
|
|
0 |
6,530 |
Programming |
|
|
|
7 |
54,076 |
AIX |
|
|
|
0 |
1,307 |
UNIX and Linux RSS News |
|
|
|
4 |
1,898 |
Shell Programming and Scripting |
|
|
|
9 |
16,758 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,995 |
Shell Programming and Scripting |
|
|
|
7 |
11,109 |
Shell Programming and Scripting |
|
|
|
1 |
60,782 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
7,338 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
1,797 |
Solaris |
|
|
|
5 |
4,698 |
Shell Programming and Scripting |
|
|
|
5 |
28,956 |
Programming |
|
|
|
7 |
18,791 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
38,807 |
Shell Programming and Scripting |
|
|
|
6 |
3,721 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,565 |
Programming |
|
|
|
2 |
3,053 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,331 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
11,226 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
9,630 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
15,475 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,161 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,022 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,305 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,630 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,098 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
27,930 |
Programming |
|
|
|
2 |
7,095 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
16,081 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,686 |
UNIX for Advanced & Expert Users |
|
|
|
9 |
22,889 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,560 |
UNIX for Dummies Questions & Answers |
Tk_CoordsToWindow(3) Tk Library Procedures Tk_CoordsToWindow(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_CoordsToWindow - Find window containing a point
SYNOPSIS
#include <tk.h>
Tk_Window
Tk_CoordsToWindow(rootX, rootY, tkwin)
ARGUMENTS
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
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
containing, coordinates, root window
Tk Tk_CoordsToWindow(3)