StyleContext.lookupColor

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

class StyleContext
bool
lookupColor

Parameters

colorName string

color name to lookup

color gdk.rgba.RGBA

Return location for the looked up color

Return Value

Type: bool

true if color_name was found and resolved, false otherwise