StyleContext.lookupColor

bool lookupColor(string colorName, out gdk.rgba.RGBA color)

Looks up and resolves a color name in the context color map.

Parameters

colorNamecolor name to lookup
colorReturn location for the looked up color

Returns

true if color_name was found and resolved, false otherwise

Deprecated

This api will be removed in GTK 5