StyleContext.lookupColor

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

More...
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

Detailed Description

Deprecated: This api will be removed in GTK 5