X-Designer Capture Tutorial

X-Designer Capture Tutorial


This is a set of step-by-step instructions showing you how to use X-Designer Capture to capture the design of the user-widget configuration utility supplied with XDesigner, xdconfig.

  1. Select "X-Designer Capture" from the "Tools" menu.

  2. Type xdconfig into the Command field of the Command Execution Dialog and press "Ok".

    The X-Designer Capture tool searches your path (the list of directories set by the PATH environment variable) for the named application, and invokes the first one it finds. Both the xdconfig and Capture dialogs are displayed.
    Note that the Capture dialog is effectively attached to the xdconfig program, so when you exit the xdconfig application, X-Designer Capture also exits.

  3. Press "Capture" in the Capture dialog.

    A thumbnail sketch of the active Shell of xdconfig appears in the Capture dialog. If you wish to capture sub shells, display them, make sure that they are the dialog named in the dialog and then press "Capture" again. Each shell is added to the window holding area.

  4. To see the design in XDesigner, drag (using mouse button 2) each thumbnail from the window holding area of the Capture dialog into XDesigner's construction area.
As you do this, the Shell and its hierarchy appear in XDesigner.

Your XDesigner widget hierarchy now contains the widget structure of xdconfig along with all associated resources. The dynamic display looks like xdconfig. If you captured any sub-dialogs, they can also be dragged into the XDesigner construction area. They are added as separate dialogs.

Captured Information

You can see straight away that X-Designer Capture has captured the appearance of xdconfig. In fact, more than that has been captured. Here is a list of what you have:

X-Designer Capture gives you everything you need from the design of a Motif application. Callbacks, links and other dynamic actions associated with the application are not captured.

See also: