Previous: , Up: Colormap Functions   [Contents][Index]


10.3.6 Colormap Attributes

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

Function: colormap-display colormap
colormap

A colormap.

Returns the display object associated with the specified colormap.

display

Type display.

Function: colormap-equal colormap-1 colormap-2
colormap-1
colormap-2

A colormap.

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

Function: colormap-id colormap
colormap

A colormap.

Returns the unique ID assigned to the specified colormap.

id

Type resource-id.

Function: colormap-p colormap

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

map-p

Type boolean.

Function: colormap-plist colormap
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.