outline-item-opened-pixmap

Generic Function

Package: common-graphics

Arguments: outline item kind

This generic function returns a pixmap to display for outline-items when they are in opened state. Though individual outline-items or outline widgets can be assigned their own pixmaps via their opened-pixmap property, an application can alternately assign pixmaps in a more general way by adding methods on this generic function that specialize on the application's outline and/or outline-item subclasses.

The default method returns the value of the opened-pixmap property of the individual outline-item if this is non-nil, otherwise returning the value of the opened-pixmap property of the outline itself if this is non-nil, and otherwise returning the value returned by the function default-opened-pixmap.

The kind argument receives the value of the kind property of the outline-item. The kind property is not used at internally, but an application can assign arbitrary values to this property in order to specialize methods of this and other generic functions on it. For example, each outline-item that happens to represent a person could be given a "kind" property of :person, and then an outline-item-opened-pixmap method that uses an (eql :person) specializer for the kind argument would causes each of these outline-items to use a particular pixmap when in opened state.

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.