Re: X11 status Capture for an arbitary application

2013-05-21 Thread Jasper St. Pierre
Why do you want to do this? Parts of it are unclear: what's a menu list, and what's the event queue status? On Fri, May 17, 2013 at 10:31 AM, Dibyayan Chakraborty dib.cool...@gmail.com wrote: Hi, I am currently challenged with the following problem.Any help would be appreciated. For some

Re: X11 status Capture for an arbitary application

2013-05-21 Thread Jasper St. Pierre
The window-specific attributes? You can look at the X window properties, using a tool like xprop, but that may not be what you want. Events are delivered over a socket. It's up to the client to determine what to do with the data retrieved from it. The client may leave unhandled events as raw data

Re: X11 status Capture for an arbitary application

2013-05-21 Thread Thomas Lübking
On Freitag, 17. Mai 2013 17:37:37 CEST, Dibyayan Chakraborty wrote: I would like to build an application which would monitor an arbitrary application and notify its total machine resource usage statistics. This has in general nothing to do with X11, but depends on the underlying system (on

X11 status Capture for an arbitary application

2013-05-17 Thread Dibyayan Chakraborty
Hi, I am currently challenged with the following problem.Any help would be appreciated. For some x11 application at some particular moment i would like to access all its component's status ( window positions , child windows ,menu lists , event queue status and everything else) . What are the

Re: X11 status Capture for an arbitary application

2013-05-17 Thread Alan Coopersmith
On 05/17/13 08:37 AM, Dibyayan Chakraborty wrote: Hi, I think i should be more clear on the specific terms that i previously used. By menu list i meant to say the menus which are often present in the applications(e.g File, Edit, View, Insert) and by event queue i referred the event queue of

Re: X11 status Capture for an arbitary application

2013-05-17 Thread Dibyayan Chakraborty
Ok. Thank you for the reply. Then is it possible to query the window specific attributes of an application from another program? And can you please elaborate this debugger or remote introspection ? On Fri, 2013-05-17 at 08:42 -0700, Alan Coopersmith wrote: On 05/17/13 08:37 AM, Dibyayan

X11 status Capture for an arbitary application

2013-05-17 Thread Dibyayan Chakraborty
Hi, I am currently challenged with the following problem.Any help would be appreciated. For some x11 application at some particular moment i would like to access all its component's status ( window positions , child windows ,menu lists , event queue status and everything else) . What are the

Re: X11 status Capture for an arbitary application

2013-05-17 Thread Jasper St. Pierre
Why do you want to do this? Parts of it are unclear: what's a menu list, and what's the event queue status? On Fri, May 17, 2013 at 10:31 AM, Dibyayan Chakraborty dib.cool...@gmail.com wrote: Hi, I am currently challenged with the following problem.Any help would be appreciated. For some

Re: X11 status Capture for an arbitary application

2013-05-17 Thread Dibyayan Chakraborty
Hi, I think i should be more clear on the specific terms that i previously used. By menu list i meant to say the menus which are often present in the applications(e.g File, Edit, View, Insert) and by event queue i referred the event queue of the application where the key Events and Mouse Events

Re: X11 status Capture for an arbitary application

2013-05-17 Thread Alan Coopersmith
On 05/17/13 08:37 AM, Dibyayan Chakraborty wrote: Hi, I think i should be more clear on the specific terms that i previously used. By menu list i meant to say the menus which are often present in the applications(e.g File, Edit, View, Insert) and by event queue i referred the event queue of

Re: X11 status Capture for an arbitary application

2013-05-17 Thread Dibyayan Chakraborty
Ok. Thank you for the reply. Then is it possible to query the window specific attributes of an application from another program? And can you please elaborate this debugger or remote introspection ? On Fri, 2013-05-17 at 08:42 -0700, Alan Coopersmith wrote: On 05/17/13 08:37 AM, Dibyayan

Re: X11 status Capture for an arbitary application

2013-05-17 Thread Jasper St. Pierre
The window-specific attributes? You can look at the X window properties, using a tool like xprop, but that may not be what you want. Events are delivered over a socket. It's up to the client to determine what to do with the data retrieved from it. The client may leave unhandled events as raw data