ColorSelection.setHasPalette

Shows and hides the palette based upon the value of has_palette.

class ColorSelection
void
setHasPalette
()

Parameters

hasPalette bool

TRUE if palette is to be visible, FALSE otherwise