set_color


Description:

public void set_color (string? color)

Sets the color specification for the Source to which this belongs.

A colored block is often displayed next to the data source's display name in user interfaces.

The internal copy of color is automatically stripped of leading and trailing whitespace. If the resulting string is empty, null is set instead.

Parameters:

this

an SourceSelectable

color

a color specification, or null