X-Designer Capture allows you to capture dialogs from a running Motif application and drag them into X-Designer. Whether the application has been "hand-crafted" or designed using a GUI builder, X-Designer can create an "xd" file of the application's design. X-Designer Capture is available from the "Tools" menu. You can also use this tool from the command line.
For successful operation of X-Designer Capture, the Motif application you wish to record must have been dynamically linked with the Xt library (libXt). On many UNIX implementations, you can find out whether the application has been dynamically or statically linked with libXt by typing:
ldd AnApplication
On HP systems, you should use the chatr(1) command and on Silicon Graphics systems, elfdump(1). If the output mentions libXt, the application has been dynamically linked with the Xt library and can be used with X-Designer Capture. If this library is not present, the application has probably been statically linked with the Xt library. You will have to re-link your application with the Xt shared library if you want to use X-Designer Capture. X-Designer Capture is completely non-intrusive and will not affect either the performance or the behavior of an application.
When you select "X-Designer Capture" from the "Tools" menu, a dialog is displayed allowing you to type the name of a Motif application to be captured into the text box next to the button labelled "Executable". There is also a text box allowing you to type any arguments you wish to be passed to the application.
See also: