Routines (alphabetical) > Routines: C > CW_PALETTE_EDITOR_SET

# CW_PALETTE_EDITOR_SET

The CW_PALETTE_EDITOR_SET procedure sets the CW_PALETTE_EDITOR properties.

## Syntax

CW_PALETTE_EDITOR_SET, WidgetID [, ALPHA=byte_vector] [, HISTOGRAM=byte_vector]

## Arguments

### WidgetID

The widget ID of the CW_PALETTE_EDITOR compound widget.

## Keywords

### ALPHA

A 256 element byte vector that describes the alpha component of the color palette. The alpha value may also be set to the scalar value zero to remove the alpha curve from the display.

### HISTOGRAM

The histogram is an vector to be plotted below the color palette. This keyword can be used to display a distribution of color index values to facilitate editing the color palette. The histogram value may also be set to the scalar value zero to remove the histogram curve from the display.

## Version History

5.3 | Introduced

## See Also

CW_PALETTE_EDITOR, CW_PALETTE_EDITOR_GET, IDLgrPalette