WorkShop Visual Capture Tutorial

WorkShop Visual Capture Tutorial


This is a set of step-by-step instructions showing you how to use WorkShop Visual Capture to capture the design of the user-widget configuration utility supplied with visu, visu_config.

  1. Select "WorkShop Visual Capture" from the "Tools" menu.

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

    The WorkShop Visual 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 visu_config and Capture dialogs are displayed.
    Note that the Capture dialog is effectively attached to the visu_config program, so when you exit the visu_config application, WorkShop Visual Capture also exits.

  3. Press "Capture" in the Capture dialog.

    A thumbnail sketch of the active Shell of visu_config 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 visu, drag (using mouse button 2) each thumbnail from the window holding area of the Capture dialog into visu's construction area.
As you do this, the Shell and its hierarchy appear in visu.

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

Captured Information

You can see straight away that WorkShop Visual Capture has captured the appearance of visu_config. In fact, more than that has been captured. Here is a list of what you have:

WorkShop Visual 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: