Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk_idtowindow(3tk) [opensolaris man page]

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. Tk Tk_CoordsToWindow(3TK)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

change

In redhat how do you change the display/resolution like 800X900 to 1200X1000. (1 Reply)
Discussion started by: macdonto
1 Replies

2. Programming

about X-window

Please, recommend anyone books about programming for X-window. (0 Replies)
Discussion started by: serge
0 Replies

3. Shell Programming and Scripting

tail -f a log file redirected into a new window?

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)
Discussion started by: douknownam
2 Replies

4. UNIX for Dummies Questions & Answers

Get file from window env

Hi, I can use rcp to copy a file from unix to window. How can I get a file from window env in unix. Ivan (1 Reply)
Discussion started by: egckhad
1 Replies

5. HP-UX

X window can not startup

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)
Discussion started by: Frank2004
0 Replies

6. Shell Programming and Scripting

Prevent output to window

hello, Any suggestion on how to prevent Standard output and Standard Error to window? (3 Replies)
Discussion started by: katrvu
3 Replies

7. Shell Programming and Scripting

Display a Graphic from a Unix program on a Pc – how?

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)
Discussion started by: Barry Staples
4 Replies

8. UNIX for Advanced & Expert Users

Resizing of ctelnet window

Hi, How can I resize the ctelnet window in Solaris? (0 Replies)
Discussion started by: sharif
0 Replies

9. Programming

Need Help

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)
Discussion started by: yahyaaa
0 Replies

10. UNIX and Linux Applications

Emacs GUI window, help.

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)
Discussion started by: Bandit390
2 Replies

11. UNIX for Advanced & Expert Users

How can i unzip .gz extension file?

I have pulled a .gz file from UNIX to window. Is there way to unzip UNIX based file on window? Thanks advance. (9 Replies)
Discussion started by: J_ang
9 Replies

12. Shell Programming and Scripting

"frameset" in bash?

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)
Discussion started by: patrick99e99
1 Replies

13. AIX

Tool to monitor the performance of the system ..

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)
Discussion started by: Mr.AIX
12 Replies

14. OS X (Apple)

Terminal window unknown ?

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)
Discussion started by: ttmt
3 Replies

15. Ubuntu

Wildcard with xdotool

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)
Discussion started by: drew77
15 Replies