Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## pixmap-source

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.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version