Do not use on any
shared computer
July 25, 2008 11:02am pdt
null
[x]
Attachment Details

Xlib window/widget details

Tags: Xlib, C
I'm writing an Xlib tool in C on Debian Linux to detect certain Firefox dialog boxes and automatically click their "OK" buttons. For the moment, I just have a program that finds every X11 window and reports on them.

I've been able to use the WM_CLASS and WM_NAME properties to identify the top-level window I need, but I see no way of getting at identifying information (hopefully, the button text) to determine which of its child windows is the widget I want to send an event to.

Is there a way to use the higher-level libraries to get at some of this widget information, using a known X11 Window ID?
Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: dberner9
Question Asked On: 05.15.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by duncan_roe

Rank: Guru

Expert Comment by duncan_roe:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by dberner9
Author Comment by dberner9:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by dberner9
Author Comment by dberner9:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by dberner9
Author Comment by dberner9:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by duncan_roe

Rank: Guru

Expert Comment by duncan_roe:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628