Tk_IdToWindow(3TK) Tk Library Procedures Tk_IdToWindow(3TK)__________________________________________________________________________________________________________________________________________________NAME
Tk_IdToWindow - Find Tk's window information for an X window
SYNOPSIS
#include <tk.h>
Tk_Window
Tk_IdToWindow(display, window)
ARGUMENTS
Display *display (in) X display containing the window.
Window window (in) X id for window.
_________________________________________________________________DESCRIPTION
Given an X window identifier and the X display it corresponds to, this procedure returns the corresponding Tk_Window handle. If there is
no Tk_Window corresponding to window then NULL is returned.
KEYWORDS
X window id
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTk |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tk is available on http://opensolaris.org.
Tk 4.0 Tk_IdToWindow(3TK)
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
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTk |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tk is available on http://opensolaris.org.
TkTk_CoordsToWindow(3TK)
Is this possible? I am attempting to display a new xterm window and tail -f the log file within that new window. I am currently working on a solaris 8 machine if that has any different meaning than the other platforms. As you can see, I am a newbie to this forum and to UNIX. Any help would be... (2 Replies)
When the system shutdown and startup, the login window can not start normally and often display as character mode, I have uncomment the last line in the /etc/dt/config/Xservers file as the following, but the problem still unfix:
* Local local@console /usr/bin/X11/X :0
another problem is... (0 Replies)
An interesting puzzle. I run character based compiled C-Programs in a Unix environment on PCs in a Window. I want to be able to call up and display in a separate window a picture of a product called by a Unix shell script from within my Unix program.
Ideally I would like to have a script that... (4 Replies)
Dear All,
Im new on Java programming and I need to write a code that display a text file content in pop up window. I tried to make some changes on some examples that I found on the net but with no use.
Please your help :( (0 Replies)
I'm using xming and enabled x11 tunneling. But when I try to use emacs to get the GUI window. I do get the window, but no fonts, can't click on buttons like file, edit....and when I type anything I just get the black rectangles.
I get error msg in terminal....
"Warning: Cannot convert string... (2 Replies)
Hi everyone,
I am just wondering, is there any way to do something like put text on line 1 of the terminal window and then set the window's display to start at line 2, so that the text in line 1 is always on the screen?
-patrick (1 Reply)
Dear experts ,
Pls advice for any good Tool to monitor the CPU and performance of AIX the system ..
to keep monitoring to show me the utilization of that system .. (12 Replies)
Hi all
I haven't worked much in the terminal window until recently as I'm trying to install the Imagemagick package, it's not going well but thats another matter.
I'm worried now that I might have done something wrong. When I open the terminal window now I get
unknown-e0-f8-47-0d-1b-02:~... (3 Replies)
The window id for the particular popup window is different each time, so this scripts often does not work.
Is there a way I could use a wildcard ?
Ex. xdotool key --window 1677*.* alt+F4
or go through all the relevant window IDs and filter what I need and discard the rest.
This... (15 Replies)