parts

Generic Function

Package: common-graphics

Arguments: common-status-bar

Returns the list of section widths for common-status-bar. Each width in the list may be either:

a fixnum indicating a fixed pixel-width.

a float between 0 and 1 (non-inclusive), to indicate what portion of the extra space that was not used up by the fixed sections is allocated to that part.

the symbol t. Any extra width of the status-bar that was not used up by the fixed and float sections will be divided evenly amongst any "t" sections.

For example,

(setf (parts my-status-bar)
      '(60 40 .5 .3 t))

This would allocate the first 100 pixels of my-status-bar's width to the first two sections, then 50% and 30% of the remaining width would go to the next two sections, and whatever is left would go to the last section.

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.