Gtk.ColorSelection.prototype.set_has_palette

function set_has_palette(has_palette:Boolean):void {
    // Gjs wrapper for gtk_color_selection_set_has_palette()
}

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

has_palette

true if palette is to be visible, false otherwise