next up previous contents index
Next: Peek Mode Up: The View Menu: Alter Previous: The Electrical Button: Show   Contents   Index


The Expand Button: Expand Subcells

The Expand button in the View Menu, and the View menu of sub-windows, brings up the Expand pop-up, which controls the expansion of subcells in the window. All geometry is shown in an expanded cell, whereas only the bounding box and possibly a name label are shown in the unexpanded state. If the cell happens to be an array, the bounding box in the unexpanded state is shown as a dashed line. Ordinary instances have a solid line bounding box.

After pressing Expand, the pop-up appears. The pop-up contains a text entry area, a number of buttons which push specific text into the entry area, an Apply button, a Dismiss button, and a Help button. When the pop-up first appears, it is given the keyboard focus. Under most (if not all) window managers, one should be able to type into the text entry area immediately. Pressing the Enter key is equivalent to pressing the Apply button. Thus, one can quickly change the expansion status entirely with the keyboard accelerators (the change will apply to the window containing the pointer).

For example, the default keypress mapping applies Ctrl-x to the Expand button, so typing

Ctrl-x 0 Enter
will set the expansion level to 0, and
Ctrl-x a Enter
will set the expansion level to ``all''.

The functions of the symbols which are recognized in the text string will be described below. The buttons which push text into the entry area avoid the need for typing. These are:

+ set to `+ ' (there can be multiple + 's added)
- set to `- ' (there can be multiple - 's added)
All set to `all'
0-5 set to `0' - `5'
Peek Mode set to `p' (available from main window only)

Pressing the Apply button will pass the expansion string to the internal expansion control function.

The characters which are recognized in the string are the letters a, n for ``all'' and ``none'', one or more + or - symbols (not mixed) which will increment or decrement the hierarchy depth of expansion, a + or - followed by an integer, which will increase or decrease the level by that integer, or simply an integer, which will set the hierarchy depth to that integer. Setting the hierarchy depth to zero is the same as ``none''. All subcells up to the hierarchy depth are shown expanded.

Each drawing window has its own expansion parameters and Expand button. When a sub-window is created, it inherits the expansion status of the main window. The expansion depth entered applies only to that window.



Subsections
next up previous contents index
Next: Peek Mode Up: The View Menu: Alter Previous: The Electrical Button: Show   Contents   Index
Stephen R. Whiteley 2017-04-09