GimpUi.ColorSelection.set_color

@accepts(GimpUi.ColorSelection, Gimp.RGB)
@returns(none)
def set_color(self, color):
    # Python wrapper for gimp_color_selection_set_color()
  

Sets the GimpUi.ColorSelection's current color to the new color.

self

A GimpUi.ColorSelection widget.

color

The color to set as current color.