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 Enterwill set the expansion level to 0, and
Ctrl-x a Enterwill 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.