set-attachment

Generic Function

Package: common-graphics

Arguments: window left top right bottom

Sets values describing how window's size changes when its parent is resized.

The possible values for left (specifying the left-attachment) and right (specifying the right-attachment) are:

The keywords :left, :right, or :scale. :left means maintain the same distance from the parent's left side as before the parent was resized -- if the distance was 30 pixels before, it is 30 pixels after the parent's resizing. :right means keep the distance to the right side constant. :scale means keep the ratio of the distances from the left and right sides constant -- if the side was half way between before, it is half way between after.

The possible values for top (specifying the top-attachment) and bottom (specifying the bottom-attachment) are:

The keywords :top, :bottom, or :scale. :top means maintain the same distance from the parent's top as before the parent was resized -- if the distance was 30 pixels before, it is 30 pixels after the parent's resizing. :bottom means keep the distance to the bottom constant. :scale means keep the ratio of the distances from the top and bottom sides constant -- if the side was half way between before, it is half way between after.

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.