Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk_coordstowindow(3) [centos man page]

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)

Check Out this Related Man Page

Tk_CoordsToWindow(3tk)					       Tk Library Procedures					    Tk_CoordsToWindow(3tk)

__________________________________________________________________________________________________________________________________________________

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(3tk)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Preventing passwd root?

I knew it would happen sooner or later.... We have a requirement that specific individuals need "sudo root" authority. I knew it only a matter of time before someone decided to change the root password (at least they owned up to it). Now the question is how can I grant all rights except... (4 Replies)
Discussion started by: scottsl
4 Replies

2. UNIX for Dummies Questions & Answers

Root window banner

Does anyone know how I could display a banner at the root window level and posibly allow users to log in from the root window. I need to display a Warning Banner at the root window level so the users can read the warning then login. Solaris 7 is the OS I am running Thanks in advance (0 Replies)
Discussion started by: rtoba
0 Replies

3. UNIX for Advanced & Expert Users

Root window banner, Please help

Does anyone know how I could display a banner at the root window level and posibly allow users to log in from the root window. I need to display a Warning Banner at the root window level so the users can read the warning then login. Solaris 7 is the OS I am running Thanks in advance (9 Replies)
Discussion started by: rtoba
9 Replies

4. UNIX for Dummies Questions & Answers

Plz help me.... window split in unix

how to split a window into two using curses in a text based chat application? (0 Replies)
Discussion started by: manju
0 Replies

5. What is on Your Mind?

Is it wrong this worries me?

Well, my old laptop flopped over and died, so I reinstalled Linux on a new one. I decided to try Gnome, since it'd been a long time since I tried any kind of large-scale window manager. It turns out "gnome" is somewhat apropos. When using it you'll feel like there's a tiny homonid wandering... (1 Reply)
Discussion started by: Corona688
1 Replies

6. UNIX for Dummies Questions & Answers

su to root

How do I determine who has privleges su to root? (newbie) (1 Reply)
Discussion started by: lcraig
1 Replies

7. Programming

PL/SQL Determine if the coordinates of a point is within four points

Dear all, Given that the coordinates of 4 points such as c1(x1,y1), c2(x2,y2), c3(x3,y3), c4(x4,y4). Does any body know how to use plain sql / plsql to determine coordinates of a point e.g. (x,y) is within 4 points above efficiently. The 4 points supposedly form a rectangle rectangular. ... (0 Replies)
Discussion started by: eldonlck
0 Replies

8. Red Hat

Installation of product via root and non root

Hello., I created a virtual template via public yum repository. Assume only following usernames are there root hvasa jbell For the non root users, I will have to use them to install the product tool and deploy the web application. But lets do following steps: 1. Open the VNC port on... (0 Replies)
Discussion started by: alnhk
0 Replies