| Did you know ... | Search Documentation: |
| Visual Hierarchy |
Overview consists hierarchy of visuals
The Visual Hierarchy tool can be used to overview the consists_of hierarchy of visual objects. It is commonly used to find the PCE reference for visual objects from the screen or to examine the structure of a tool (in terms of the visual objects it is built from).
The tool consists of a graphical window for displaying the hierarchy and a dialog. The graphical window displays the hierarchy. The root of the hierarchy is the PCE predefined object @display_manager and is always present.
User interface:
Any XPCE graphical object from the screen may be added to the tree by positioning the pointer (mouse) on the object and pressing META-SHIFT-CONTROL-V. Mnemonic: V for Visual and all modifiers to avoid conflict with applications.
Each node of the hierarchy has a menu associated with the right button. This menu has the following entries:
FLASH Send ->flash to the represented graphical ============================================= EXPAND Expand the next level of the hierarchy EXPAND TREE Expand as many levels as possible COLLAPSE Remove all subtrees DELETE Remove this node and anything below ============================================= SOURCE View source of class of object INSPECT Start _Inspector_ on object TILE HIERARCHY Frames: analyse the tile structure CLASS BROWSER Start _ClassBrowser_ on class of object.. ============================================= FREE Send ->free to the object POSTSCRIPT Genererate a PostScript description
The following button bindings are defined:
->Flash the object and print the output of
portray_object/1 in the dialog. The
reference of the object is put on the X-display clipboard for pasting in
another application (typically the Prolog window for further analysis of
the object).
Tool name: visual_hierarchy
Bugs:
The functionality of this tool is still experimental.
The tool does not automatically update for changes in the PCE world. Only destroyed visuals that are displayed by this tool will be removed from it.