Gtk.ColorSelection.prototype.set_previous_color

function set_previous_color(color:Gdk.Color):void {
    // Gjs wrapper for gtk_color_selection_set_previous_color()
}

Sets the 'previous' color to be color.

This function should be called with some hesitations, as it might seem confusing to have that color change. Calling Gtk.ColorSelection.prototype.set_current_color will also set this color the first time it is called.

color

a Gdk.Color to set the previous color with