Method

GimpUiColorSelectorset_color

Declaration [src]

void
gimp_color_selector_set_color (
  GimpColorSelector* selector,
  GeglColor* color
)

Description [src]

Sets the color shown in the selector widget.

Unlike most setters, this does NOT change the model (or update views) when the change is not perceivable to the eye.

A control cannot depend on this actually changing the model. A control, e.g. a chroma slider, may show a small difference from the model.

Parameters

color

Type: GeglColor

The new color.

The data is owned by the caller of the method.