X11 newbie question - getting widgets within a window.

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

1 post / 0 new
X11 newbie question - getting widgets within a window.

Submitted by cjelli on Wed, 10/11/2006 - 16:10.

Dear Community,

I am quite new to X11/Motif/Toolkits. My problem is the following:

I want to interact with a closed-source X11 application (Openwin/Motif compatible).
I did master an Xtest based tool that allows me to move the mouse and send keys into
the application, however for the best results I need to know more of the application window
and the widgets constructing it. For example, in case of invalid input the application
produces _internal_ popup widgets (not separate windows) that grab complete control
of the X-server and wouldn't release it until clicked upon.

I did some research (my question is so common, that I am struggling to find correct search
keywords), and I understand I have to get to use XtWindowToWidget and XtGetValues
functions, however I haven't a clue how I set up the parameters for it. All I know how to
get are window Id values, as returned, for example, by xwininfo.

The application doesn't recognize the editres protocol.

The environment is: Solaris 9 Sparc, X116R4, Openwin. If it matters, I am running
eXceed 10.0 X server.

I would greatly appreciate pointers to good newbie-level manuals, tutorials or discussions
that would help me with this specific problem.

Thanks in advance,

Roman Parparov,
ABC(Yoram Shitrit) Ltd.