pixmap-icon

Generic Function

Package: common-graphics

Arguments: pixmap-interface

Returns (or sets with setf) an icon that will be displayed for a picture-button or static-picture control or for an individual button of a multi-picture-button. The icon may be specified either as an icon handle (a non-negative integer) or as a symbol that is bound to an icon-handle. The icon handle may be either one of the built-in icon handles (which are the values of error-icon, warning-icon, question-icon, information-icon, and application-icon) or may be an icon handle that was returned by calling create-icon-handle.

A pixmap-icon can be used for an object instead of a pixmap, but both may not be used simultaneously. When an object's pixmap-icon is set, its pixmap is set to nil. When an object's pixmap is set, its pixmap-icon is set to nil.

pixmap-icon 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.