expand-window

Function

Package: common-graphics

Arguments: window

Expands window (if it is shrunken) to fill its previous box. Does nothing if window is already expanded.

The documentation in releases prior to 6.0 suggested that this function returned true or nil as this function was or was not successful in expanding the window, but in fact information about the success or failure of the expansion is not available. The returned value is thus undefined and no meaning should be attributed to the returned value.

When expand-window is called on a window whose state is :shrunk or :icon, the window is returned to either :normal or :maximized state, depending on which of these two states the window most recently had. If it has not yet had either of these states, then it is put into :normal state. For iconized windows, this emulates clicking on the restore button of the icon.

Incompatible change in release 6.0: in earlier releases, this operator was a generic function. In release 6.0, it is a non-generic function. It calls (setf state), which is a generic function to effect the change in its argument's state. If you added methods to this operator, you should modify them to be methods on (setf state). See the release notes or state for more information.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.