pixmap-source

Generic Function

Package: common-graphics

Arguments: pixmap-interface

Returns (or sets with setf) the path namestring of the .bmp pixmap file from which the pixmap instance to display on a picture-button or static-picture control or individual button of a multi-picture-button was originally read (if any). When this value is set, the set of cached pixmaps is searched for a pixmap that has that path namestring as its source, and if one is found then that pixmap is used. Otherwise load-pixmap is called on the path namestring, a pixmap object is created from the information that is read, the pixmap is cached by calling cache-pixmap on it so that it may later be retrieved by calling find-pixmap on its name (or on its source path namestring), and the new pixmap is used for the control.

pixmap-source is a property of the button-info, picture-button, and static-picture classes.

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.