effective-background-color

Function

Package: common-graphics

Arguments: object

Returns the color returned by background-color for object if that function returns a color (rather than t or nil).

If background-color returns nil, effective-background-color returns the color returned by default-background-color for object. (As of 5.0, background-color returns nil when no background color has been explicitly assigned to an object.)

If background-color returns t for a control, indicating that the control's background color should be the same as its parent window's background color, then the effective-background-color of the parent window is returned.

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.