9.3.6 Colormap Attributes

The complete set of colormap attributes is discussed in the following paragraphs.



colormap-display colormap Function
        
colormap
A colormap.

Returns the display object associated with the specified colormap.

display
Type display.


colormap-equal colormap-1 colormap-2 Function
        
colormap-1, colormap-2
A colormap.

Returns true if the two arguments refer to the same server resource and nil if they do not.



colormap-id colormap Function
        
colormap
A colormap.

Returns the unique ID assigned to the specified colormap.

id
Type resource-id.


colormap-p colormap Function
        

Returns non-nil if the argument is a colormap and nil otherwise.

map-p
Type boolean.


colormap-plist colormap Function
        
colormap
A colormap.

Returns and (with setf) sets the property list for the specified colormap. This function provides a hook where extensions can add data.

colormap-p
Type boolean.