set_color


Description:

[ Version ( since = "0.15.2" ) ]
public void set_color (ColorKind kind, ColorSchemeKind scheme_preference, string colorcode)

Sets a new accent color.

If a color of the given kind with the given scheme preference already exists, it will be overriden with the new color code.

Parameters:

this

an Branding instance.

kind

the ColorKind, e.g. as_color_kind_primary.

scheme_preference

Type of color scheme preferred for this color, e.g. as_color_scheme_kind_light

colorcode

a HTML color code.




2022 vala-language.org