[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: X Window programming query



On 5 Feb 2001, Karthika  Sivaramakrishnan wrote:

> Hello! 
> I am developing a monitoring project in X Window. For a particular window whose ID I have obtained, I would like to know 
> 
> 1. When that window was opened (created). Can I find this by looking out for some specific event? How can I conclude that the window was opened as the result of some command (or click on an icon)?
> 2. How can I associate a window to the program that runs it? For example, for the caption "Media Player", the corresponding program is "kmidi". Will these details be available in some system file?

xwininfo (man xwininfo) may give u a lot of information about windows. But
I don't think it gives any of the info which u need. But it may be worth
having a look.

Sreeji